Two possibilities that come to mind.
1. The bulb is bad.
2. lose spade connector in one of the many plastic connectors between the switch, relay, fuse panel, and headlight.
For what it is worth I chased #2 for months but finally found it after pulling every connector apart and removing the female spades to check them.
Steve
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.