The camshaft position sensor (CMP sensor) on a 2002-2004 Jeep Grand Cherokee Laredo 4.7L V8 is located on the
passenger side (right side) of the engine, near the rear of the cylinder head. It's typically mounted in a fairly prominent location and is easily accessible once you remove the air intake system's components. It might be slightly different in later years (2005-2010), but the location remains generally on the passenger side of the engine near the rear.
To be certain: Consult a repair manual specific to your Jeep's year. A Chilton's or Haynes manual, or even a digital version from a reliable source, will have diagrams and precise locations. Using the wrong year's manual might lead to incorrect identification. The sensor itself may also vary slightly in appearance depending on the year.