So is the electronic ignition box supposed to shock you?

IMHO a lock washer between the body of the ECU and the firewall at each attachment point will work well.

Screenshot_20230929-214851.png
Green= Transistor
Magenta = heat sink
Yellow = insulation
Screenshot_20230929-215122.png
You can measure voltage between the transistor and the body of the ECU, not sure how much.

Look at 17:22 (ZAAAAP!)