service engine light on transmission slips or will not change to overdrive on 1998 Ford Taurus

rpm gauge may rev, car may surge or idle fast with car in drive. It will change smooth then will not change up to overdrive, then later it will change fine.....

Asked by for the 1998 Ford Taurus
have the codes scanned and post. most likely it will have trans codes like slippage or gear ratio issues