Huber and 38-year-old Raymond did it the hard way. They saved a match point in the second set then won two nerve-wracking tiebreaks to seal the title.
It was the sixth grand slam doubles title for Raymond and the fifth for Huber, who will rise to the number one rank in doubles with the victory.
"We have a ranking system and that is great ... but it's definitely not been my goal," said Huber.
"My goal has been to play with Lisa and reach success with Lisa. This U.S. Open title is much bigger for me today than the ranking."
It was the fifth Grand Slam doubles title for Huber, who last prevailed at the 2008 U.S. Open partnering Cara Black of Zimbabwe.