Yes, you can test the switch function when you remove it. Put an ohmmeter across the switch plug terminals. In the off position->infinite resistance. In the on position -> 0 resistance. There should be nothing in between those two readings.
2000 Dodge Grand Caravan SE
No matter what you fix, there will always be something else to fix..
"Warranty" is just another way of postponing the inevitable.