It spins right, then left, then right - and when it starts back left again it quits and will no longer spin.
The it's not spinning at all.
Check the motor control board at the bottom right front corner of the washer.
Take a close look for burnt parts on the control board.

You will need to open the door and remove the two hing screws and the two other screws on the other side of the door frame.
Then remove the front of the washer.

Maytag Neptune Service ManualIf the motor control board on the bottom of the washer looks ok then I would check the door switch.
You have two switches in the door. One works the light that you see come on and the other one has to be closed for the washer to spin.
Take a look at the motor board first.