If you are careful you can repair the old switch. You will see the board on the rear where the tags the wires attach to is held in place by folded tabs. Use small pliers or even wire cutters to fold the tags back far enough to pull the board away. It will have 'fin' shaped contacts on it which are bridged by a metal slider in the moving part. give them a wipe with alcohol on a cloth and slide a slip of paper through through the metal slider to clean out any dirt. Then just put it back together again and it will be like new.
Your photograph doesn't show what is actually damaged on it, there will be three solder tags, if one of the outside ones has snapped off, just connect to the other outside one and mount the switch the other way around, they are symmetrical.
Brian.