car starts fine but when driving is will jump like its running out of gas on 2000 Ford Focus

most of the time this happens but not every time but when it dose its like the car almost losses power then goes o
like it finely got some gas. if this will help auto zone troubleshooting codes that came up were p0171 oem brand,p1125oem,and p1100 . what should I do to fix this problem

1 answer
Clean the MAF sensor and have it tested, clean the throttle body and have the throttle position sensor tested. The two latter codes are for the MAF, and TPS sensors (intermitent signal). Also check the connectors, and wiring to both. The first code means it is running lean.