X is just a filler neck vent. It's small to get you to shut off with a small amount of air left, then it will equalize to keep from burping fuel out the filler neck.
"to injection pump (out)" would only have a check valve at the injection pump, it shouldn't cause stalling while running. I'd focus on the supply line in the tank, or a vacuum leak between the tank and injection pump, or a floater in the tank that stays safely out of the way when the tank is full. Key to that was if the pump was pumping air and sputtering fuel when it wouldn't pump, or if it was pumping nothing. Foam bubbles is an easy way to tell if it's pumping air, remember the air volume will be much less than fuel volume out of any fuel pump, they're not good at it.