Check the drive shafts and input/output shafts going to transfer case and on transmission.Would also check that transfer and front and rear ends are full of gear oil.
You can get under vehicle after putting chocks no wheels and setting parking brake and have some one switch back and forth to hear where noise is (truck running) or put it on a lift which is much safer.