To be certain, you need to check the part numbers. Look up the correct fuel pump part number for your 1995 Ram 1500 using a reliable parts website like AutoZone, Advance Auto Parts, or RockAuto, using your VIN. Then, compare that to the part number of the 1997 fuel pump you have. If the numbers match, they're likely interchangeable. If they differ, they are probably not compatible.