Toggle's & Footswitches are the hardest to remove.
The pro's use a special tip that heats all six pins at once so it just falls out!
If you want save the Board you may have to sacrifice the switch.
You have to disassemble the switch like pictured below & then you can push the pins out one at a time while applying heat to the pin.
A toggle switch is basically the same internally.
UPDATE: I wrecked this switch for Nothing! Ha Ha!, It was one of those Long Handle ones anyway!
So pry it apart like in first picture below & just put soldering Iron on Pin, solder gets hot & just push so it drops through into the plastic capsule!
View attachment 46987 View attachment 46988