I’m guessing the issue is the headlight switch?

Hey guys and gals. I was digging around under my dash today to replace a couple dash bulbs and when i finished up I pulled on the light switch and nothing happened. So I checked the side marker lights, and tail lights, still nothing. So I turned on the headlights, and they worked.

I started fiddling with the switch and noticed that there was a loose wire on the harness, I pulled up google and it was the parking light wire. I put it back on, turned on the parking lights and boom all...

I'm guessing the issue is the headlight switch?
Author: scott2683