Macy’s posted a surprise third-quarter profit and its strongest comparable sales in more than three years as an extensive ...