The wires' connections to those magnetic switches are a common problem, Dwight. The steps are complicated by several controls, including door open or closed, engine ignition on or off, and the switch by the stairs. Any of those factors get compromised and the step doesn't work as designed. The door magnet switches' backsides and wires can be exposed to hazards and corrosion. Jerry pretty much isolated his issue by cutting out the controller with direct application of 12 volts, with no motor response, letting off the hook anything else.
Joel