You might want to also check the connector that supplies power to the steps.Funny story ... I was reading about, and bookmarked a post from a user in another forum thread, that had changed out the motor for their steps using a power window regulator that was nearly identical to the one that was removed.
Well sometimes I think that our Motorhome is watching me
I needed to take the MH to the DMV yesterday and while I was packing it up to make it road ready, the steps would NOT retract. What! I am thinking to myself, they just worked the other day.
Ok so out comes the rubber mallet for a few thumps - nothing. Now it's time to climb under and see what is going on.
From my many years in the Automotive Aftermarket Industry, I know how quickly outdoor exposed wires, especially those in the engine compartment and undercarriage, can become corroded, so I started tracing wires and looking at connectors, and sure enough, the primary connector that supplies power and ground to the stairs was corroded.
Corroded to the point where the female pin in the connector on the power lead completely corroded and broke off - and was actually stuck in/broken into the opposite side of the connector. At least I knew where the problem was now. I broke out the wire cutters and strippers, fashioned a quick jumper and the stairs retracted.
The corroded pin you see in the upper left is the bottom part of the broken female pin - that pin should reside in the other side of the connector - not here where it is!
I still have to come up with a more permanent solution, but it's raining pretty good outside today, so that will have to wait for another sunny day.
Good Luck with your diagnosis
... and YES - all that rust on the basement compartments is another sunny day project. Clean and scrape off the rust, fill any holes and then re-undercoat. Always something to do .. huh?