The two terminals labelled AC with the tilde ~ are for the 120 volt line power. The tilde means alternating current.
A ground wire must always be connected even when a switch is turned off.
The two terminals at the bottom marked PW have the symbol for an electrical switch next to them.
That concludes what I know for sure. Maybe the M in a circle represents the motor. Since the terminals marked A and H have positive and negative signs the power out may be direct current. Do you have some kind of electrical tester that can tell you whether the output is AC or DC? It may turn out you need a DC motor of some kind. That's beyond my experience.