Here's one for a Kwikee brand step. Specifics for the switch may depend on the RV manufacturer, who supplies the switch and wires it in. Also, some steps used a normally closed switch, while others were normally open. I've forgotten when Kwikee changed from one style switch to the other.
Quikee Step Wiring Diagram