93 taurus with trouble codes

i got a 93 taurus, v-6 with trouble codes that were scanned at auto zone.. the codes are 25, knock sensor 34 EVP(EGR Valve position)voltage out of range
51 ECT (Engine Coolant Temperature) sensor signal voltage too high
the check engine light would come on an go off all the time....... start car and drive off and about a block away and it would come on.. then go off and back on and then stay on.... i learned that the Taruus GL that i have does not have a Knock sensor so i ruled out the code 25 as being the culprit... i then checked looked at the ECT and did not knwo how to check it so i went to the EVP and did not know how to check it.. i then went to the air filter and it looked brand new.. remembered that i changed it about one month ago... i then removed the MAF sensor and cleaned the two little wires/sensors in there with some windex on Q-tips and scratched up the electical connection on it to make sure it was making good contact to the harness... put it back in and drove around and the car seemed to run alot better. before it was killing when starting up and seems to have a shake in the engine like when you have a car thats flooding with the old carbs. so far two days now and the check engine light did not return.... could this be the fix for this car??? three other codes and noting mentioned about the MAF, but cleaning it corrected the problem... or did it????? thenks for a reply...
Add pictures here
<% if( /^image/.test(type) ){ %>
<% } %>
Add image file

Motorsforum.com is a website by car enthusiasts for car enthusiasts. It is not affiliated with any of the car or spare part manufacturers or car dealers discussed here. All logos and trade names are the property of their respective owners.