WASHINGTON — Lawmakers reached a deal Sunday, Nov. 9, to end the longest-ever government shutdown, according to two sources familiar with the matter.