Hot ballast resistor & ICM

The resistor that's in there now has the ceramic fill and is working, but the last one got so hot that it blew. It sounded like a firecracker went off. The ceramic blew out of it and the wire is exposed. The white paint is now black under the resistor.

Yes, I understand a ceramic resistor is expected to get hot. I plan to drive it 600 miles to Farmington in 3 weeks, and I want to sort out any electrical gremlins.

Per the FSM I checked the voltage and resistance at the 5 pins. I guess I will just clean all grounds, re-check all wiring, and drive it locally with jumper wires on hand in case I blow the resistor again.

The factory ICM also heated up, and the insulating material started melting after a short drive around the neighborhood. I installed a Duralast ICM, but I noticed it is missing Pin #5 which is the ground. Not sure I want to use it.