 PURPOSE: This phase III trial is studying the side effects and best dose of erlotinib and cetuximab and to see how well they work in treating patients with advanced solid tumors or progressive or recurrent stage III or stage IV non-small cell lung cancer. 