U.S. stocks snapped a three-day losing streak Wednesday as gains by big technology companies and relatively steady oil prices and bond yields helped lift the...