U.S. Senate confirms Cornwall district judge