Before you consider complete replacement, remove the switch and take a close look at all the connections. It sounds as if it's just a loose connection that may be fixed with zero money. Otherwise, try a pull & pay. those switches are some of the first things to be removed from junkers, but if you find a place that has some fresh metal in their inventory, you might get lucky. Also, before you head out there, try to find what range of vehicles that switch would work for (i.e. make sure you know the years that are compatible, as well as other makes and models).
05 LJ & 98 TJ