To be certain, I strongly recommend:
* Checking your owner's manual: This is the best resource for the exact location.
* Using a repair manual: A Chilton's or Haynes manual for your specific year and model will have diagrams and instructions.
* Searching online for diagrams specific to your truck's year and engine: Use search terms like "1996 Dodge Dakota 5.2L fuel filter location" along with images.
Visually inspecting the area near the fuel tank on the passenger side is your best bet after consulting the resources above. The fuel filter is usually cylindrical and may have fuel lines attached. Be extremely careful when working near fuel lines, as fuel is flammable. If you're not comfortable working on your vehicle yourself, take it to a mechanic.