'85 Bronco II Problem

Going down the highway, slowed for light, started to accelerate, engine surged or raced briefly then quit. Coasted to a park and could not start car. Towed home. It turns over easily but won’t fire. Checked the gas pump, that’s not the problem. Any suggestions? I’m not a very good mechanic by the way.