Dart electrical problem

Have plenty of fuel it's the spark I don't know about because it just quits like you shut off the key then won't restart for a while