Weird Dakota headlight problem. Help

Thanks guys. I cleaned up all the ground connections I seen. The wiring behind the kick panel looked fine. It seems to be working good but I'm keeping my fingers crossed...Dean