Throttle body replacement on 2007 Mazda CX-7

After sitting for 8 days in a garage my engine would only was like the throttle was disconnected..full throttle would produce 3000RPM. I let the car sit for 2 days more and it worked like a charm..Took it to a Mazda dealer and they say I need a new throttle body..does this compute..I don't think I being ripped off
Joe Mays

Asked by for the 2007 Mazda CX-7
You have an electronically controlled throttle. It's very possible that it could fail and produce the symptom that you are experiencing. It's very likely that they are right. I'm assuming that a technician diagnosed your vehicle and that they guarantee his diagnosis.
Thank you very much I'm feeling better about this already.