Where is the output speed sensor located on a 2008 ford Taurus sel? on 2008 Ford Taurus

The check engine light came on and car didn't wont to pull in drive. Put the car in reverse and backed up about 40 feet and put back in drive car drove fine two days later same thing.

Asked by for the 2008 Ford Taurus
Have it scanned then post the code numbers.