Have it checked for codes, it will probably have to do with the fuel level sensor in the fuel tank.
There are pages and pages of things that can turn the check engine light on. You need to have it checked for codes to know what the cause might be.
There are pages and pages of things that can cause a check engine light. You need to have it checked with a scantool. Then the code can be diagnosed and repaired.
You can reset the check engine light on a 2007 Dodge Dakota by unhooking the battery. Leave it unhooked for 10 minutes before reconnecting it.
bottom left of dash and is in red
Cylinder #2 Misfire
You need to have the engine and abs checked for codes.
disconnect the positive battery cable for about 10 minutes
Repair the problem and then reset it with an OBD2 scan tool.
Have vehicle scanned to determine the problem - usually in the emission control system
You will need to get the cause of the check engine light repaired.
Check coolant level Perhaps thermostat is sticking and needs replacement
Scan for codes, some parts stores do it free....Advance auto.