my 2006 ford 500 keeps running for a few seconds after I turn off the ignition on 2006 Ford Five Hundred

just started doing this.

2 answers
do u have any eng codes?
Idle speed to high,need scan to find out why.