Starts immediately and stalls?
Sounds like an unplugged MAF sensor. Check all wiring connections and vacuum hose barbs to make sure you have them all back in place.
Go through the process of tearing things down again to see if you missed something. You had to have forgot to plug something back in if it ran before installing the valve cover gaskets. There is alot to take apart in order to change them. Double check or completely disassemble things again.