I saw the man lying by the road. = He was on the ground as I drove past.
I saw the man lie by the road. = He lay down as I drove past- I saw the action.
I have never seen sunglasses capapable of independent movement, so the first is the natural option.
- For Teachers