Nearly a quarter of Americans think switching jobs is the best way to get a raise, according to a survey from MagnifyMoney.