Order of operations matters a lot. Hopefully I'm remembering this correctly.
Remove the jack/tool storage box. Of course the stud that the jack slides over can be a real pain to remove as it has threadlocker. I use a socket on the top or sometimes it helps to tighten up a quality adjustable wrench to it as tight as you can.
The under-rear-window trim panel pops out at the bottom first, and while it's slightly hinged towards you from the bottom, gently push up as the top clips go down into the body. This has to be out of the way first as the B-pillars go in behind it.
There are a few screws down low in the B-pillars, and the coat hooks. Then the shoulder belt mount bolts. There are hidden clips but they will pop as you hinge the B-pillars inwards starting at the bottom; they have large slide-in tabs at the top that hook into the above-rear-window trim, so ease those apart.
Can't recall where the A-pillar trim fits in at this point but you'll be able to tell easily whether the rear of it goes behind the B-pillar trim or over it; easy to see.
Regular cab/crew cab, pop the dome light lens off and remove the screws, and there are screws at the ends of that above-rear-window trim, it'll come on down.
A-pillars are pretty easy to pop out and then re-install if you pay close attention to the locator "dowels" that help you line up the clips.
Don't forget there are a couple of velcro strips at the front edge of the headliner board, so you can reach in there and carefully separate them as you pull the headliner board down. (Of course you've already pulled the visor screws, duh.)
Forgive any errors.. it's been years now. Just read all that, put eyeballs on the truck, and take your time. Some of the clips may break; you can glue them back with Devcon Plastic Welder 2-part adhesive.. but you don't have to break a bunch of them. Patience helps.
Richard