02 toyoto camry

02 camry starts and stops. it won’t stay running

You will have to be more specific. Is the problem that the engine will not idle? Will the engine stay running if you keep your foot on the gas pedal? What exactly does the engine do? Use a description like, I crank the engine; the engine catches; the rev meter will make it to 2000 rpm; then the engine will just shut off; and the rev meter runs down to zero.

Help us help you.