flickering lights 66 dart

My Dart will does it too. If I stop some where for a while and let it rest it is good again for a little while. I think the head light switch is getting hot. I think putting a relay in will help but have not done it yet.