I had the same problem. I took it to ford and they had it for 4 days and they found a bad vacum line under the upper intake maifold. Check your vacum lines.

Pete