Not sure if just removing the switch casing will void your warranty because you do not even need to open up the printer. Just use a small flat-head screwdriver to pry the switch out. They have a replacement switch on Amazon. Super easy fix. There's a hollow cylindrical recess in the center of the switch internals that must not be rated for a ton of switching back and forth. This NON-reinforced hollow cylinder is what deformed(as mine did), melted, or just broke from stress and causes the spring-backed rocker contact pin to not want to slide along the rocker mechanism anymore. I just put a bit of baking soda around the cylinder then added some super glue to the baking soda to reinforce the cylinder on my replacement switch.
Not an affiliate linkhttps://www.amazon.com/gp/product/B07HFQ4B6G/ref=ox_sc_saved_title_1?smid=A1IZYUD9B8EI1C&psc=1