Brake pedal switch light flickering vw Jetta TDI automatic

Question by liju Joseph posted 1 week 2 days ago in 2005-2010 (A5 Typ 1K)

Brake pedal switch indication flickers some times

And joy stick release solinoide also creates tick tick sound  replacing wheel speed sensors reduced the problem to a certain extent but not to my satisfaction, that also creates some shifting problems in the morning what could be the reasons? Thanks in advance.