The House passed a bill on Wednesday to end the longest government shutdown in the history of the United States.