The federal judge’s nomination was approved Thursday as the 116th justice to serve on the nation’s highest court.