It may not be the actual pump going bad. There is a check valve built into the fuel system that keeps pressure from bleeding back into the tank when the pump isn't running. I'm not sure if it's in the fuel pump, the filter, or the regulator, but it's there somewhere.
Before I dove in much deeper, I'd see about a fuel pressure gauge/tester. They can be had on Amazon as cheap as $20. Connect to the fuel rail, turn the key on but don't start, and see what the pressure jumps up to, should be somewhere in the 50 psi range, if I had to guess. Turn the key off and see how quickly the pressure bleeds off. I read somewhere on a Jeep it should stay over 30 psi for 5 minutes or better. If it doesn't do this, you'd have to start looking into where the check valve is on these trucks.
If you don't get up into the 50 psi range, you're probably looking at a new pump. If you get significantly over 50, you've got regulator issues, is what I've seen elsewhere.
Of course, this is all very general, and not Ram specific. If I'm off base, I'm sure somebody will happen along to correct me before long.
Edited to add: After a little more reading and perusing the parts sites, it appears we don't have a separate fuel filter, at least on my '19 Classic Hemi. The only filter is in the tank. May be the same with the regulator, since a quick search doesn't find that part on the parts sites, either. So, if you don't care for cycling the key an extra time to start the truck, you're likely looking at a replacement fuel pump whether the actual pump is the problem or not.