Sounds like the dreaded throttle hang. My 99CSVT was behaving like yours in addition to the odd 4000rpm stick and hang. Ford raplaced the IAC and reprogrammed something. Seems to be OK so far. Search around this forum using "throttle hang" as a search. This will give you a lot of info and/or fixes.