The spark plugs on a 2004 Dodge Ram 1500 with the 4.7L engine are located on
the top of the engine, between the valve covers. They're fairly accessible, but you'll need to remove the plastic engine covers for easier access. There will be one spark plug per cylinder, for a total of eight. They are arranged in a fairly symmetrical pattern across the engine's V configuration.
You will likely need a spark plug socket, likely a deep well socket, and a ratchet to remove and replace them. A spark plug gap tool may also be necessary. Consult a repair manual or online resources specific to the 4.7L engine for precise location diagrams and torque specifications.