1996 Ram 1500 5.9 4x4 surging?

1996 Ram 1500 5.9 4x4 is surging when stopped at lights. I just had the crank sensor done and it starts and runs fine just surges. I heard it may be the intake gasket? I am about to off this truck, I am getting frustrated. It has 102k miles and everything works but I keep having problems. Any ideas?