Ballast resistor wiring

Yes thats factory so it is a 5 pin. One thing that has to have a really good ground to the firewall where it is bolted to.