Find a handy friend and take off the ECM and find a vendor on eBay for rebuild. It costs less than $200. There is nothing wrong with the transmission andATF.
See link and this is my last post.
http://www.rav4world.com/forums/88-4-2-faults-fixes/76752-2001-2003-rav4-ecm-problems-etc.html