If its stock gearing it could be 4.10, 4.56, 4.88. I don't know exactly what you're working on, but that's the common 4wd gear ratios, and it depends on year and model. I would guess 4.10 since its the most common.
Chock the wheels in front, jack up the rear(one side), , and if you're not locked, rotate the driveshaft and count the number of driveshaft rotations to two rotations of the tire (or one rotation and multiply by two, but its more accurate for two exact revolutions).
If you're locked, jack up both rear tires, count driveshaft rotations to one revolution of the tire. That'll be your ratio. About four driveshaft turns is 4.10, 4.5 turns is 4.56, etc...
Please follow all safety precautions so you're not run over by your own truck.....
![Smack! :smack:](https://board.marlincrawler.com/Smileys/marlin/smack.gif)