How did this pan out for you? That's probably an R151F (maybe R150F) out of a Hilux, as it's got a centered rear output, not passenger drop both front and rear.
If both gearboxes are from the same generation, then virtually everything in the front main case will be swappable. If they're from different generations, then it gets a bit more tricky. In March of 1994, the helix angle of the input gears changed very slightly. One of the shafts was a different length, 5th gear retention method on one of two gears changed, tail housing internals changed both slightly with the generations, but also with the application - Cruiser splitcase vs HZJ80 cruiser vs 3VZE 3.0L V6 Hilux vs 5VZFE 3.4L V6 Hilux/Tacoma vs R155F Tacoma etc.
The input cluster itself I believe is still available, but the input shafts up to March 1994 are no longer available OEM...
I believe I have seen Chinese versions, and I believe Yota1 sells an aftermarket version from what I gather. It actually says genuine, but then later says "This is a direct replacement for 33301-35050." It says 2 in stock...
The website has some misinformation, however... The 3/94-11/95 short input shaft version 3VZE R150F is not compatible with the earlier versions, they look virtually identical, but the Helix angle on the input gear teeth are slightly different and won't mesh properly, to the best of my knowledge. The 3/94-11/95 (-ish) version also fits 2005-2017 Tacoma R155F, the earlier version does not.
This is a direct replacement for 33301-35050
209yota1.com
Your whole gearbox needs a full inspection and rebuild, however. New bearings most definitely. It was run low on oil.