How can you fix a drifting switch?
Resetting your Joy-Cons is possible. If you see Joy-Con drift, the first thing you should do is calibrate your controllers. You can clean the Joy-Con's joystick. Joy-Con drift can be fixed by Nintendo. A new Joy-Con is required for your switch. You should replace the joystick.