Try this, it worked for my Ford Five Hundred. It was having transmission issues such as yours. Cleaned my throttle body using $10 throttle body cleaner and fixed the transmission issues. Your transmission and throttle body are very closely connected. Hope this helps.
Franco