so yours is a digifant engine?
look for air leaks in all the vacum hoses, clean out the ISV with WD40 and the throttle body butteryfly's and idle screw. spray some wd40 in your leads.
this all cured mine but you might have nocked a vacume hose off aswel

so your temp guage is fine now?