Headlight switch replacement

I lose my instrument panel when the headlights come on, either auto or manual. I am thinking the headlight switch needs to be replaced. Anyone know how hard it is to replace or am I even on the right track to fix the issue? Any thoughts would be appreciated.