That most likely is a battery isolator to control/dual batteries... looks like someone expanded the factory tray for a second battery (over the starter area of the engine bay).Query:
what is this gold fined aluminum block thing?
It ohms out to the wire that comes off the pos terminal.
Welcome to the madness...
HTH, Will.