I had that happen and fixed the problem by cleaning the wire harness for that particular headlight. I found it behind the splash shield in the wheel well
PANTERA INTERNATIONAL
A DE TOMASO CAR CLUB
Presents the De Tomaso Forums
The On-Line Meeting Place for De Tomaso Owners and Enthusiasts From Around the World
Clicking on the banner will take you to the sponsor's website.