Listen to him, he knows his shit!!
My fatheres 5.0 has an irregular idle, but I believe it to be in the tune.
Check what Maximum says, he knows more than I do.
But the surging and then die is making me lean towards a fuel problem.
Does it just die, or is there a moment of sputtering?
More...