The passing beam shall be switched off during the journey.

Hello, I have the problem that the dipped-beam runs out while driving. After several times pulling the main-beam switch, the dipped-beam starts again at some point. The main-beam always works. He said that this is on the turn signal switch. I got another one on the junkyard and the problem persists. Has anyone ever had such a problem? What could this still be? Thank you in advance.