Or, you could just cut, and wire nut the wires together. They really don't do anything useful if you maintain your vehicle..
My left rear brakes were grinding, so I ordered new pads and rotors for just the rear, hoping to do the fronts in the spring. The wear sensor never went off as the right rear brakes weren't quite as bad. Of course the sensor broke as I was trying to put it on the the new pad. Just cut and spliced it. No brake light.
Two months later, the front sensor started going off, and it went off as annoying as possible. Every time I released the brake pedal, the alert would happen again... and again, and again.. It was infuriating..especially since the brakes were still usable. I went ahead and ordered parts, and lived with the alert for two weeks (stupid Amazon messing up the order for ONE rotor).
When I changed the front brakes with new pads and rotors (and had to drill out the stupid rotor screws) I just went ahead and cut out the sensor there too. Your mileage may vary. I didn't think they were worth the hassle.