Sticking, worn out, or broken centrifugal advance mechanism in the distributor can cause hesitation also..
If the EGR valve is stuck open, most times the engine will idle rough, and might periodically stall out.. If it's stuck closed (not likely), the engine will detonate during light acceleration or pulling a load - sounds like marbles rattling around in a coffee can.. Disconnect the vacuum hose at the EGR valve and connect a hand vacuum pump to the valve.. Start the engine and let it idle. Apply vacuum to the valve.. If the valve diaphragm is not ruptured, the valve will open and cause the engine idle to become rough. The engine might even stall completely..