Walmart Inc., which has taken more progressive stands on everything from worker pay to gay rights in recent years, has won over the majority of Democrats — a reversal for a retailer that has long been a Republican favorite. Almost 52 percent of people who identify as Democrats would consider shopping at the company, according to a report from the YouGov BrandIndex.