When I read ur title I knew this was in the 6.0 category.
Even after replacing the cap, it'll still do the same thing. Do you have a white splashed residue all under your hood and everywhere? Hey get your mind out of the gutter!
It can easily be head gaskets or EGR. Has it over heated yet? If not, get it fixed before it does because you dont want to get the heads so hot they crack or warp because after that you will never get them torqued down tight enough to seal even with studs. So dont try pulling trailers or running over 80 for even a short amount of time.
My 6.0 had this same issue, but it was my own fault. It was fine until I hit it with the nitrous. :bang
It was downhill from there...