There should be a part number embossed on the plastic box. If you can find a used one one with the same part number don't take for granted the pins are the same application.
So, I would push the connectors out of the replacement fuse box so you have empty holes and then one and one-by-one transfer the connectors from the burnt fuse box to the replacement fuse box.
If any of the connectors(s) are burnt beyond use on the damaged fuse box, use one of the connectors with enough pig tail from the donor fuse box to solder the wire(s) and then seal using shrink tube..
Did you fix the cause with the fan?
2019 Charger Scat Pack White
2012 Mustang GT, Roush 2300 Black
2006 Mustang V6 Manual Legend Lime Sold
2016 Jeep Willys Silver Vin 060 RIP
2016 Jeep Willys Silver Vin 059 Sold