Intermittent stuff is a pain in the *** but you can figure it out with good diagnostics. Sounds like you’ve been through the fuel system, so have you checked spark condition (quality) when it’s acting up? Should always have a nice blue snappy spark. That would be my next test. Or while it’s stumbling, just take a temporary wire from positive post on battery straight to the coil and see if it helps.