Use Arduino to Run 24v Motor with Microswitch

Let's forget the windscreen wiper idea. Got me confused! Does the shaft that presses on the push button of the micro-switch have a flat spot that releases the button as the shaft revolves?

Paul