I giggle to myself (I prolly do that more that I think) when someone says "and it's got a cam" like a stock engine doesn't have one, just one of those things people say

that begs for a comeback from Jeff Foxworthy.
I agree with Pete, the TPS is suspect here.
But I must ask, people also say things like 'it's got fuel pressure ' but how much, just some fuel spurting out the schrader valve don't mean anything in the real world of EFI mechanics.
Don't take offence to any of this, EFI is more technical than people think, still pretty easy but technical, where in the past we could use a match stick (do they still have those?) to get a engine running now you need to take a reading from a gauge or meter.
Also you don't say if this is a new issue or you got it not running correctly. This can be an important factor. Some just don't know how to fix these cars and will sell a problem, then you have the 'flippers' that will dump a car they either created the problem or just couldn't fix.
Ok, now that I've bored you to death with my coffee induced rant let me introduce you to the 'surging idle checklist' put together by some of the finest minds in the land of mustangs (and mine was NOT one of them), the lead taken by jrichker, still Stangnets favorite tool, read the directions, I know, we're guy's and 'we don't need no stink'n directions ', trust me, it's a tech thing.
Updated 26-Oct-2019 to clarify creeping idle RPM increase as the car is being driven. Many of you are familiar with the "Cranks OK, but No Start Checklist for Fuel Injected Mustangs" checklist and the No Crank Checklist. They are very effective in finding and eliminating the problems by use of...
forums.stangnet.com
It will give you the correct way to check the TPS.
But maybe you're an experienced mechanic and I just waisted my time making you roll your eyes and utter duh a couple times, ohhhky I'll just hit the 'post reply' button and fetch myself another cup of coffee.