headlights on 2007 Dodge Magnum

headlights keep flashing on and off,and when they go off i can be driving and tap the dash board on the driverside and they come back on.sometimes they stay on for along time or i have to keep tapping the dash.

Get Your Car Fixed at a RepairPal Certified Shop.
We certify shops based on expertise, quality work, and verified customer reviews
1 answer
the connector at the switch probably has a bad connection. inspect it carefullly for any burnt terminals.

Roy