Stage 4 stomach cancer is an advanced form of the disease. It occurs when cancer cells have spread from the original tumor in the stomach to distant organs or tissues, such as the liver or lungs.