I changed pads and rotors all the way around on my 2017 Ram 1500 in March. APS brand off fleabay. $162 all-in for rotors, pads and hardware. Fit like factory and working perfectly 3 months in. I had about 50K miles on the factory pads and rotors and could have gone on with them, but I was getting an ugly wear pattern on the rears, plus I had to open things up to lube the parking brake mechanisms on the backing plates, which leads me to a big time recommendation for your 2017. ..
Does your P-brake cable sag at all? If so, the cam levers that actuate the shoes through the backing plates are corroded and locked up. You can free them up with some penetrating oil and elbow grease. If not, it's an expensive fix.