Regular cab right?
so just one drive shaft in the rear, no carrier bearing
MAKE SURE wheel are blocked, and trans is in neutral
Then yes, once the 4 bolts are removed the drive shaft should be able to slide forward enough for it to drop, bigger hammer, lol, parts are rust welded together.
I would mark it first so it goes back in the same place on the differential.
Thread here with pictures, includes front 4x4 drive shat as well but rear is the same on 2wd or 4wd, regular cab: How To: Change U-Joints
As the title says it shows how to replace u-joints, which are not expensive and if you have the time not a bad idea to replace them if they are original.
And it is much easier to drain the trans oil while it is in the truck, and then refill it when it is out of the truck, so not a bad idea to do that as well.