Sounds like the dealer replaced your mass airflow sensor with a faulty
unit. Take it back, and don't settle until they fix it! There could
also be some other faulty sensors, like the the throttle position
sensor, RPM/TDC sensor, and several others that may not be sending a
code to the check engine light becuase it only malfunctions for a
second before the computer corrects the problem.