Fiat Spider 1981 2000

When it is cold car runs fine. When it warms up in spring car starts perfectly, but engine begins to surge. almost dies. Turn on headlights and fan it helps. When alternator is disconnected, car runs fine.

Checked the alternator 3 times, it was repaired, and checked out OK. I am at a total loss. Please help!!! THANKS.