Ignition woes

OK, I have it starting and running good ,but know it will run for a couple of minutes start cutting out and die. ecm? magnetic pickup?
Verify if when it cuts out whether you still have spark or not. If no spark go back recheck all the electrical connections mentioned here & then verify you have voltage to the coil & that it's got a good trigger at the coil when cranking too.