The Integrated Power Module (IPM) on a 2002 Dodge Ram 1500 is located
under the hood, on the driver's side fender well. It's often attached to the inner fender apron. It's a fairly large, rectangular black box. However, the exact location might vary slightly depending on the engine and specific trim level.
To be absolutely certain, you should consult your owner's manual or a repair manual specific to your 2002 Dodge Ram 1500. A diagram will provide the most accurate location.