The dollar swung between gains and losses against major peers as investors awaited key U.S. economic data and commentary from Federal Reserve officials to gauge the U.S. monetary policy path