As Lee said, those are fuse holders.
I can't tell what wire colors they are spliced into... But, I suspect the wire that had the two fuse holders, in series, was/is a homemade fusible link...
A fusible link would run from your battery pos (+) to the white-blue wire, in your harness on the passenger fender... You can see it in this picture... Left side, halfway down. Your full wiring diagram can be found here
Coolerman's Electrical Schematic and FSM File Retrieval
You really need to clean up that mess and make sure your fusible link is properly sized, before you burn your wiring harness and possibly your 40 down.
I melted my harness, I'd hate to see you do the same.
If you need a real fusible link, contact
@Coolerman, he sells everything you need.
Also, from the little I can see of your positive battery terminal, you really need a new positive cable... The connection to the positive terminal is barely there and the cable 'look' like it may be too short and too tightly stretched.
Good luck.