I think you are going to have to see someone that is certified in the 6.4 then. If you replaced the PCM it would have had to be flashed at a dealer or at least by someone with access to factory programing. They are not plug and play. I am assuming that if you did not disconnect the battery it would continue to do this indefinitely? I know the injectors will cycle for 30 seconds after shut down but that isn't your issue. If it doesn't stop ever with out being disconnected that is a sign the PCM ground may be bad but it is more than can be diagnosed on the Internet.
I doubt you are missing a sensor. Has it always done this or just started to? How many miles on the engine? The warranty is 100K. You would need to have the system scanned by the Ford IDS to see if there is a sensor causing this to occur. It might be as simple as a re-flash.
Shopping for new Ford can be a stressful experience especially if you don't have the right information. Our new car research center at CarEverything.com can help relieve this stress and bring the joy back to new car buying!
The Car Blog, or TCB for those who are acronymically inclined, is alive because some of today's top Web designers needed a place to drool and bitch about their motor vehicle obsessions.
Read the auto blog at Automotive.com to get the latest news and opinions, view the newest concept cars, and join discussions with auto experts from around the world.