Macy’s swung to a profit in the fourth quarter, though sales dipped with shoppers still cautious about spending ...