Where does this electrical box go?

Voltage Regulator.
Bolts to the firewall. Look for a screw hole on the drivers side of the firewall.