If the switch has broken then replacement is probably the only solution.
But what if the switch is just obstructed? Do you have a hairdryer that you can just run as a blower without heat? Maybe you could aim that at the switch to see it could blow out any dust or particles that got in there. Don’t use heat, obviously.