Wal-Mart Stores Inc. on Thursday reported a better-than-expected fiscal fourth-quarter profit but gave an outlook that fell short of Wall Street expectations, citing higher payroll taxes and other “current economic factors that are affecting customers” in many of its markets.