PURPOSE: This phase II trial is studying how well giving chemotherapy and radiation therapy together with cetuximab followed by surgery, docetaxel and cetuximab works in treating patients with esophageal cancer or gastroesophageal junction cancer.