When I had the same problem of the engine running with igntion, even battery off it turned out to be the voltage regulator which is screwed to the fender beside the coil on my 78 Brat. the fuel pump is also run through the v. regulator, at 5 volts. so if you put an aftermarket fuel pump in and are running it off the 5 volt source it won't work right. run the fuel pump off a keyed source.