Stepper motor moving back and forth

corrieuys:
The problem I'm having is the motor moves a step in 1 direction, and then the next step in the opposite direction.

Usually that means one of the windings isn't getting power.

Power down, disconnect motor, test the resistance of each winding to make sure they
are undamaged.

Reconnect, double check all the connections with a multimeter in continuity mode (beeping)
so you are sure everything is connected (just looking won't find broken wires or bad
connectors, "look" with the meter).