Need transistor circuit to supply pulse/gnd signals to optical switch
Given the specs on the switch I'd go for some small integrated H-bridge circuit, like the one used for small stepper motors. They have (by pure chance!) two full bridges and are trivially driven by logic. As a bonus you have usually many nice protections.
In fact probably these switch have coils inside that moves the actual switch assembly around the optical path, so I think the kind of electrical load is the same. Many, many, manufacturers do these things, they are used, for example, in throttle valve control for engines.