EPC light on 2004 Jetta. Code said brake switch faulty, but brakes lights worked. Replaced brake switch, now no brake lights.

EPC light comes on intermittently. Had a mechanic look at it and he said code reader said the brake switch was faulty. Brake lights worked, though. I got a new switch at the dealer and followed instructions to replace it. Now I have no brake lights. I checked the fuses and all ok. I checked the terminals on the switch for continuity and it opened and closed when I depressed the brake pedal. I even put the old brake switch back in and still no brake lights. What am I missing?

My car has 45000 miles.
My car has an automatic transmission.

– EPC light on 2004 Jetta. Code said brake switch faulty, but brakes lights worked. Replaced brake switch, now no brake lights.