The main purpose of the study is to assess whether the study drug, ERAS-4001, is safe and tolerable when administered to patients with advanced or metastatic solid tumors with certain KRAS mutations. ERAS-4001 will be given alone or in combination with other treatments.