How does it go from off to one direction to off to the other direction? How does the switch work?
Usually a two direction motors are three phase motors thou it can be single phase motor but with three phase motor its easy to control. This if it works on AC currant. It also can be DC that is easer to control. 3 phases AC motor you can reverse the direction of rotation by switching two phases instead of U V W you have to make it U W V or any other combination. And it will reverse you can achieve this with a switch to give an order to a contactor to do the switching. Note that you may need a time delay to make the switching to have the motor at complete stop before reversing. Single-phase motor is very complicated process I think no one do this. A DC motor is easy you just switch the + to – and the – to + then it will reverse this can be achieved by a change over switch. Also you can use the change over switch for the 3-phase motor.