The House of Representatives has selected the President twice because of tie votes in the Electoral College. The first was in 1800 when Thomas Jefferson and Aaron Burr tied. Thomas Jefferson ended up winning.
The second time was in 1824 when the House of Representatives chose John Adams over Andrew Jackson. There was not an exact tie, but instead there was an indecisive vote.
The Bush-Gore election dispute was decided by the Supreme Court and not the House of Representatives.