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?