1999 Passat 2.8L electrical problem

MOST of the time when i press the brakes on my passat (1999 2.8) the tach will shut off and if i hold the brake pedel down, my oil light with blink and the buzzer will sound. when the pedal is released, the tach goes back to working(its kinda jumpy) and my oil light will turn back off. there is NOTHING wrong with anything in the oil system, i replaced it all to try to fix this. i also replaced the crankshaft sensor and camshaft sensor to try to fix this.Any ideas?

Related Reading: