so new engine, trans all wiring, injectors, fuel pump etc. no codes...was running fine but has started this deal

starts and dies immediately and restarts three times to keep running. Have to give it gas to keep it running and then its fine after that

Ideas?