So I had this happen to me today. The truck was fine driving this morning, parked it for 4 hours the started it and all these lights came on and it was in limp mode, very difficult to drive. The gas cap had not been touched when this had happened but i checked it, didn't make a difference. Then I unplugged the battery for about an hour and after that no lights and it runs great now.
I am not sure what's up with it, I will be replacing the gas cap just in case.
If it comes up again i will have the codes read, a little confusing that it would happen without warning and then just go away like that.
Is yours a later model V8 with an air pump ?