my headlights will shut off going down the road how do i repair this problem on 1995 Mazda B2300

Rookie cbe0621eac06868b3efe0d8d1d3611e23c60d3114864ea2ec19a68cfbd3eebab
it doesn't happen at any specific situation.
(3) Answers
1-Suspect headlight switch or connection at the switch or both.
2-Same thing on combo.(dimmer) switch.
Does it do it on high beam or low beam or both?
Qualified Local Mazda Shops
Qualified Mazda Shops For This Repair