Depends on what you switched. Did you switch stepper drivers in firmware, physical or the motor connectors? For diagnosis you must be very precise.
Reasons:
- Stepper driver defect. Replacing a driver in place fixes the problem.
- Endstop triggers so firmware prevents move. Check if M119 shows all L. If Y endstop is H motor will not move in endstop direction.
- Defect board. Use extra extruder driver socket for y instead.
Just some tests and ideas what could be wrong.