2003 Oldsmobile Alero dies right after start

My 03 Oldsmobile alero 2.2l ecotec will start then die right away. Today I changed the fuel pressure regulator, fuel filter, air filter and still does the same thing but I put starting fluid in the manifold and it started right up and I drove it 2 hours away and 2 hours back and no problem then turned it off when I got home and still wont start up.