Ignition problem???

I have a 4 pin box do I need to get a 2 or a 4 spade resistor? And I think it’s wired wrong I had the resistor before coil and full 12v to ecu box. And thank you for the information I will check it out tomorrow
No you WANT 12V to the ECU with key in the run position. You only NEED a 2 pin resistor with 4 pin box but if you use a 4 pin resistor, the other side is simply not used. Also you cannot tell a used/ unknown box 4 pin from 5 pin if it has 5 pins. Some boxes were made with 4 physical pins, others with 5.