O/d flashing it doesn't do it all the time
I'd say then it's your transmission speed sensor that might be faulty. Have your mechanic check it out for you.
Search Ford Windstar Questions
Ford Windstar Experts