I just had a failure for so many time.
For fun i drove my old fathers Mercedes W210 and infront was my wife with santamo.
I saw many times that while se was braking to cross roads the rear brake light weren't working
Some times, 5 of the 10 pressing pedals, it worked.
I didn't wanted to panic her so till our home i didn't said a word.
I opened the switch, fixed it for some minutes, but the contacts inside are
just like old ignition contacts points.
So, whatever i did, it still worked about 5 times of the 10.
So, no cheap solution, tomorrow i go take a new switch from another hyundai model. (accent i think).
See photos:
of course our switch is a simple 2 point switch, which is best for me.
I had a car, with 5 points switch, an opel omega B, was a bad fix.