Gets hot and stalls out

The red wire comes out of the box and makes a hard left to the front of the car. From there it’s connected to what seems to be a fuse. That then seems to go to the battery.

View attachment 1716231876

View attachment 1716231877
Not sure what that is. Here is a wiring diagram. the thin red ignition wire needs to be connected to 12v source that has power when cranking and in the run position and no power in the off position. heve an assistant help you check voltage at the thin red wire.

Google Image Result for https://www.forabodiesonly.com/mopar/attachments/wiring-diagram-coil-problem-msd-ignition-wiring-diagram-mon-of-msd-ignition-wiring-diagram-jpg.1715163951/