what was the code number? was it for lean, rich, not switching, heater...? then it should tell what sensor, B1S1, B1S2...
Have you done a fuel pressure test to see what your fuel pressure is? (or isn't...)
why don't we start from the beginning. What is your car doing? When you say it won't stay running, are you saying that the engine starts every time but stalls out after a while? If so, how long does it stay running? After it dies will it restart right away and then do the same thing all over again? Is the security
light coming on?
If you add an external fuel source like carb cleaner will the engine keep running? If you can extend the run time with external fuel then check the fuel pressure and verify fuel injector pulse. Do you have the correct fuel pressure and no injector pulse or do you have injector pulse and not the correct fuel pressure? Fuel pressure spec - 40psi min, 55psi max