Yeah, that sounds like an engine sensor issue, not really a electrical wiring issue......
I'm not sure though, my 454 never had intake gasket issues so I can't comment on what that may or may not do. I do know distributor cap, rotor, MAF sensors and fuel pumps can make Vortec engines do funky crap... Also my Vortec 454 would never throw codes even when it had issues. Its hard to tell, that's a weird problem. I've seen a bad MAF sensor make a complete wreck of a vortec 5700 and then after it was replaced it ran like a top. Same with distributor cap and rotor.
You've got me stumped, I would probably try and test fuel pressure in neutral and again in drive. No idea why it could starve the motor of fuel in only drive but its worth a shot... I'm not sure how you test the MAF sensors, I know they have cleaners for them but supposedly cold air intakes make them dirty if you have a cold air intake on the truck.
I haven't been following the whole thread, sorry if its duplicate advice. lol