WASHINGTON — After 43 days, the longest government shutdown in American history is over.