then i would suggest to buy a new car
your engine has something degrading, so it has problem to hold at idle speed.this has nothing to do with sensors, basically it is sign car is getting old.
in any case buy a new car is a better idea than continuing to pour your cash into the clunkers.