hesitates when stepping on the gas on 2007 Chevrolet Express 1500

Engine seems to be missing when trying to accelerate . We have replaced fuel pump and 02 sensor - also check engine light is one - could this be an electrical problem?

Get it tuned up, plugs wires, dist cap & rotor! Codes would be very helpful!