Using this back to back arrangement of P Channel mosfets, when on current will flow in either direction.
When off both sides are isolated.
You can use any typical P channel mosfet.
The transistor switch is needed because the gates need to be switched by an open drain output
to avoid there being a large enough Vgs from the on off signal in relation to the power rails connected to the Drains being switched .
The transistor could be lost of an open drain IC which can tolerate the Drain voltages when off is used to provide the signal.
Note that this arrangement is only suitable if the voltage being switched is > Vgs switching threshold of the mosfet used.
Where this can't be guaranteed or where opto isolation is needed, photo mosfet solid state relays are a great solution.
Examples: Avago ASSR-1218 – 200mA, 60V rated.
Will hapily switch low voltages like +3V3 without any voltage drop other than caused by its on state resistance
(i.e. without the voltage drop of using a transistor output opto isolator).