The camshaft position sensor (CMP sensor) on a 2000 Dodge Dakota 4.7L is located on the
passenger side (right side) of the engine, near the front of the cylinder head. It's usually mounted fairly close to the camshaft itself, often with a single bolt holding it in place. You'll likely need to look carefully and possibly remove some plastic covers or shrouds to get a clear view.
To be absolutely certain, consult a repair manual specific to your 2000 Dodge Dakota 4.7L. A diagram will show the exact location and help you avoid confusion with other sensors nearby. A Chilton's or Haynes manual will be helpful.