Hi,
I'm refreshing this post because i'm actually running into the same problems.
My engine is shaky exactly as yours and i went to see if i found a hose disconnected/leaking.
I found one, but while i cut it (about 1,5cm) and reconnected it without leak(s), the engine was still shaky.
I noticed that when i replaced the sparks, i didn't recconect firmly 2 sparks wires.
I reconnected them while the engine was running at idle to see if there was something better ... but, nothing !!!
I looked around the MAF to see if there was some other problematic hose ... but it doesn't seems to be.
If someone has an idea, i would greatly thanks him.
By the way, my XF is a 3.2 V6 (not SRT6) and is totaling 115000 Km.
Thanks !