My truck has the 5.2L, so the CPS is on the passengers-side, rear of the block. (pix were taken by jamming my camera between the firewall and valve cover)
The only tricky part of this task was 1)
actually finding the CPS, 2)
figuring out what size bolts hold it down, and 3)
how to reach it.
Once you actually do find it, the next thing is how the hell...I found it easier to get to while I had the plug wires off the truck. For reference the transmission dipstick tube passes right over it.
With the CPS removed, you can see how it works. The flywheel is visible through the hole the CPS drops into.
The two bolts holding it in are tricky to locate. A couple of drop lights and a mirror come in handy. They can be removed either with a 1/4" allen wrench of 1/2" socket. I found it much easier to fool with by using a couple of extensions, and a cordless drill with a 1/4 hex head socket. The tape holds the stuff together so it doesnt fall apart as you wiggle it into position.
When you reinstall the new CPS, it drops right in, but expect to crawl under the truck a few times to retrieve the bolts while trying to get them started. The shop manual says torque the bolts to 70 in.lbs; not having room for a torque wrench in there, I cranked mine down on max setting with my drill, called it good enough.