Hello, the problem could be injection or electric.
In the case because of the symptom that gives, in case of injection these would be the sensors that can give you that type of failure, IAT air temperature sensor, IAC valve, TPS, Servodirection switch, air conditioning switch, MAP sensor.
Actuators, fuel pump, pressure control valve, injectors.
Electric failures would be false contact in chips, sockets, short in the wiring.