The V6 trucks with automatics and 31" tires got 4.88 from the factory. A V6 5 speed truck with 31" tires got 4.56 gears. A 22R-E truck with 225/75R15 (28") tires and 5 speed got 4.10 gears and an automatic 4.30. Far and away the most common gearing is 4.10 and the least common is 4.88.
Note that the 4.88 factory gear set is slightly different (thicker) than the 4.10/4.30/4.56 so the third members are unique. Aftermarket 4.88 and 5.29 gear sets work in 4.10 (etc.) housings but factory 4.88 gears only work in factory 4.88 diffs so you're hemmed in if you go that way. I re-geared my 4.10 third members rather than used factory 4.88 personally.
On trucks 1995 and older you can use the build plate to determine gear ratio.
Do you know what kind of differential your Toyota has? This article will help you determine that and give you some pointers on how to work on it.
www.off-road.com
A G07 is an 8" 3.90 (the front on a 1991 would not be an 8" but rather an IFS 7.5" but the axle code is relative to the rear axle). A G08 is 4.10, G14 is 4.88, etc.