I bet you its the crank sensor ... your symptoms just so much like the crank. Silly rev' bouncing and cutting out.
I spent nearly £800 fixing/replacing so much stuff under the hood, and did the crank sensor last.
I also, got a NEW ECU reprogrammed and what not ...
Absolute headache electrical faults are, but when sorted you have your self a solid motor again.