Are you towing?
Definitely need the codes to know what is happening. But the most common reasons for the wrench light, that goes out after a restart, is oil cooler efficiency (oil is too hot versus coolant), over boost, or FICM voltage (weak batteries or failing FICM). My vote would be for the oil cooler. That code is a fairly recent one, and many scanners won't read it.