Senator Barack Obama claimed the Democratic presidential nomination on Tuesday evening, prevailing through an epic battle with Senator Hillary Rodham Clinton in a primary campaign that inspired millions of voters from every corner of America to demand change in Washington.