2000 mercury cougar v6

the headlights and dash lights flicker, like a candle would. replaced battery and alternator which did not fix the issue. stereo is unaffected. any suggestions would be appreciated.