reviving an old post, do you remember how you were able to identify that this was the issue?
My 2011 Edge just started doing the same thing. Also getting a message about the fuel lid, not sure of the exact verbiage. The stalling just started today while the fuel lid message is about a week old.
Another strange issue was that the breaks were hard to press down for a bit but eventually went back to normal.
2011 Ford Edge, 3.5L, AWD
145,000miles