I'm not 100% sure on the larger rectangle like box, but I do think that on our 90 Z's it's one of the "Quad Driver" boxes for the fuel injectors.
There are two of those, one for the 1* and one for the 2* injectors. Oh, I do believe that they are NLA, so be nice to them!