Unless you have a brake on the motor it sounds like your problem isn't with the switch but with the momentum of the motor. Motors don't stop instantaneously. They will coast to a stop after power is removed. Either move the switch to a position which will account for momentum in the system or put a brake on the motor or some other component.