It was the end of a long drought for the U.S. team, which had not won an Olympic gold medal since 2012 in London.