If the switch is just worn out and wont stay latched on then it should be covered by Maglite's lifetime waranty.
If you damaged the switch then you should be able to purchase a replacement from Maglite. Have a look at their spare parts page for details.