was it stalling out? fuel mixture could be off, check front window on carb to see fuel level. if u cant see it when truck is at idle, take a needle nose and while your looking at the window pinch off the fuel line going into carb, if u see the fuel level start to come down your float is stuck open.
maybe a vac line leak too, check around all the lines. make sure there all good.