My car will start but cuts off. When i step on gas peddle it shuts off. on 2000 Buick Park Avenue

The code i got was p0101, changed mass air flow and still reads same code.

Asked by for the 2000 Buick Park Avenue
ck for air intake leak around mass air flow and if ok ck ref volfage at sensor plug