find out exactly what alternator you have and whether it needs an external regulator or not, pry up those tabs and see what's inside, it may be just acting as a junction box regardless of what it was made for .... or easier, just pull that mess off and wire the truck correctly with the proper harness sections and a good alternator
Bill