His political journey predicted the switch of working-class white people to the Republicans 30 years ago , and in 2006 he became the first prominent Republican--he served as Secretary of the Navy under Ronald Reagan--to switch to the Democrats and run for high office , and win .