That's not fun. I found from messing with those switches that I had to manually place it (no power) in the through position, remove the motor, then, reseat it carefully.
We also had problems with the magnet coming off of the end of the motor shaft and jamming the mechanism. So, check for a silver dot in the end of the motor shaft. If it's not there, it's in a switch. I super glued them back in.
If it's not a mechanical issue, you, then need to explore an electrical problem. These switches require a good momentary jolt of amperage (current) to fire as they are a coil. Operating them on track power with an engine and lighted cars may be creating a limited current condition.
Try the switch with all cars and the engine off the track and power up at running position. If it works, you'll have to wire the switches to the Accessory posts on the controller and remove the track power jumper.
Since it only appears to be one switch, I would suspect a mechanical issue. Read the manual on the changing the motor side procedure ( to get the method of installing), check the magnet, and reinstall the motor and test. It should turn smoothly by turning the lantern.
By the way, which transformer do you have? A 500, 750, or 1000?
I worked on restoring a 14 year old layout with 250' of RealTrax and 22 switches. (see Eagle Scout project) RealTrax has it's own nuances , but it's reliable and works once you learn the system.