Check engine light
It probably wan't your problem. Just because you get a certain code, doesn't always mean the sensor is the issue, it's another problem that the sensor detects. Scan for the codes again and post the 4 digit codes back here so we can help.
Was the code reset after you replaced the questionable part?
Clear the code and see if it reappears.
Looking for a Used Sunfire in your area?
CarGurus has 31 nationwide Sunfire listings and the tools to find you a great deal.
Search Pontiac Sunfire Questions
Pontiac Sunfire Experts
Related Models For Sale