Answer: A
PBrX3 converts the OH into −O−PBrX2, a good leaving group, and the liberated bromide then attacks the carbon by SN2 from the back. Inversion occurs, and since the priority order (halogen or O, then CX2HX5, CHX3, H) is unchanged, S becomes R.