The Oklahoma Republican faced a glide path to confirmation with the help of two Democratic senators.