Your headlight switch is failing…it is unfortunately a common problem as excess heat is always generated by the resistor coil on the switch that dims the dash lights…the heat eventually leads to switch failure. Luckily, a relatively cheap and EASY fix by installing a new one, but DO also inspect the harness that plugs into the switch for signs of overheating/melting. If the wires are damaged, IIRC you can also get a new harness for it as well. Long term solution is to NOT dim the dash lights, though I have also heard of people who have drilled a hole in the dash vent directly over the headlight switch to help it stay cool.