87 Dodge w150

My truck has 360/4bbl automatic. It idles and revs smooth and quick but when I put it in gear and drive, it shudders and backfires. Vacuum advance issue? New plugs wires cap rotor. I just dont know.