Pulsating Headlights

Check your grounds also. Motor to chassis ground can give all kinds of issues !
I had some A/C work done on my 06 Ram Diesel truck. They removed the passenger side battery to gain access to the A/C lines. When I got the truck back, my lights did that same thing. I found that they didn't reconnect the body ground from that battery. I reconnected it and problem solved.