I have a similar problem, I have a new to me 2003 Dodge Ram 1500 with the 4.7L. it had the cam positioning sensor error, I replace the cam positioning sensor, the fuel pump, Throttle positioning sensor, New battery, cleaned the idle control valve, fixed the grounds and confirmed vacuum (18in hg at idle). The truck still has difficulty starting and when it does it stalls within a few minutes. When starting it appears to fire immediately but won't start, after a dozen attempts it will start and then idles very nicely, after a few minutes it then stalls and is difficult to restart. Of course there are no codes on the PCM. I even verified the power steering reservoir was full (since that can influence idle).
I am stumped and about to purchase the MAP and Intake temperature sensor, anything I could have missed or need to check? I've never owned a dodge before, but my neighbor traded me this basket case for a case of beer. (Did I over pay?).