Yes, there are two separate circuits running inside the same switch for the headlights and parking lights. Corrosion on the tracks can cause that condition. I can help with your switch if is shows that is not functioning properly.

Jim