It looks like you have removed it. If it's truly broken as you say, i.e. going in the trash, I'd try to take it apart and check the inside. If you can pry the switch case apart you may be able to repair it. It should come apart by prying metal tabs, and go back together at least one time.