Check for a loose ground around the headlight area, wonder if the switch could be bad too.