Hi Brian, welcome to the forum.
Turning anything 180-deg with a straight action is always going to be difficult, but there are some cheats you can try.
1:
Does it really have to be a full 180? Can it be 175? That may be doable without cheating.
2:
At the end of the extending drive of the cylinder have the clevis (or whatever) contact a compression spring about 2" out from full 180. When the return is selected, the spring will start the movement back and overcome any over-center lock that may have been set up. You could even have a similar spring on the return end to assist starting.
Thinking... thinking... thinking...