Engine Light Comes on
2007 dodge ram 1500 quad cap 5.7 liter
The engine light came on.
Went to the auto zone and they told me the code.
was to replace the oil sensor switch.
I did and the light came on.
I disconnected the battery on negative.
So i replaced the Oil temperature switch changed the oil.
Reconnected the Battery it worked fine for about turning the car on and off.
About 10 times. and the light came on again.
What should i do.