Did you check for spark at the plugs when it quit? I would reroute the fuel line around the distributor rather than between it and the head.