problem with idle on 1998 Buick Regal

why does my 3.8 liter wants to take off when im at ilde .ran code says maf and tps replace them but light is still on and still have the same problem..ty .....tryme

Asked by for the 1998 Buick Regal
Can you post the OBD codes that you pulled? thx
In this situation, you should check the sensor grounds for these sensors, they may share a grounding point, and if it's bad both sensors could have faulty signals. You can also monitor the signals with a scan tool and see that they are within the specifications. Check the wiring real good and if all else fails, the engine control module may be defective.
yes it is p0102 and p0122 both has been replace still does the same..............drives nice until u come to a stop then wants to take off by itself.