How to use "shifting" in a sentence

Sentences

He risked a quick look, shifting his attention from the road, but there wasn't enough light in the car for him to see what she held