Sen. Barack Obama of Illinois claimed the Democratic presidential nomination Tuesday night, NBC News projected based on its tally of convention delegates. By doing so, he shattered a barrier more than two centuries old to become the first black candidate ever nominated by a major political party for the nation’s highest office.