over heating,not my mopar tho

I would not even bother , do a pressure test i would say head gasket for sure. 2.2 were notorious for head gaskets.

So why would one day it pukes up and than is fine after the cap change?,if the head gasket was bad it should be the same issue all the time or am I missing something here.