What years are compatible with 97 ram 1500 4 wheel drive need a rear end
1994-2001 for sure, but as for others I'd google it.
I would look at buying a rebuilt differential and installing it in the existing rear axle.
Search Dodge Ram 1500 Questions
Dodge Ram 1500 Experts