motor wont stay running

64 dart had a slant 6 in it ,put 340 electronic ign replacing point type dist. put chrome box in with electronic dist use wiring diagram in mopar perf book, motor start but shuts off as soon as i leave go of key must have a wire i didnt put on,maybe something about the ignition switch or ballast resister any suggestion thanks