You are spot on with this comment. The truck that I traded in yesterday had alll of the same issues. It turned out to be a dropped cylinder and possibly a warped head. Apparently the 2007 5.3 has some of these issues. The SM told me that the computer shuts all of those systems off and goes into limp mode, as you said.