PURPOSE: Phase I trial to study the effectiveness of HER-2/neu vaccine plus GM-CSF in treating patients who have stage III or stage IV breast cancer, stage III or stage IV ovarian cancer, or stage III or stage IV non-small cell lung cancer.