I guess if it were my truck I'd start by for sure doing a legitimate battery load test and grounds/terminals were 'good'. If it's not good, stop there and get a good battery in it. Make sure no fuel is present when you do this. Then pulling the fuel relay and testing it in case the contacts seized to the 'on' position. Then putting on a test light or noid's to see which injector/s were in the 'on' position. I wouldn't necessarily trust the scanner at this point. Test directly. Make sure the leak is in fact open injector/s, not a micro-thin line of fuel squirting from a cracked hose/line, etc and running down the exhaust. Sometimes a pinhole shoot of fuel can be almost invisible and shoot quite a ways. Do a fuel pressure check, just to cover the basics ..although it doesn't sound like a fuel issue.
Then I'd probably look at the TIPM wiring & connectors in case there were some shorts, badly corroded terminals or rodent-chewed wiring. There have been a couple owners in the northeast who've experienced very badly corroded terminals at the TIPM (computer), and the wiring isn't very well wrapped with tape these days. It's just inviting mice to gnaw on exposed wires. I've *had* rodents chew several wires in the past (not on the Ram) that led to wonky behavior. After that, I'd remove the TIPM computer and look the circuit board over very carefully for corrosion, damage, discoloration, etc. You are in the corrosion zone, so you can't rule that out. If I didn't find anything, I'd probably investigate the fuel pressure regulator as that's a known issue on these trucks (back below the brake booster). You'd think the truck should still 'try' to start, if not run badly. That leads me to think TIPM or wiring. But ya don't want to overlook the basics either.
That's how I'd personally go about it if it were my truck, at least get started. But it sounds like you have a shop working on it ...no?
Definitely let us know what you find. Good luck.