 This phase I trial studies the side effects and best dose of lapatinib ditosylate when given together with dabrafenib in treating patients with thyroid cancer that cannot be removed by surgery and has not responded to previous treatment. Dabrafenib and lapatinib ditosylate may stop the growth of tumor cells by blocking some of the enzymes needed for cell growth. 