Answer
The nucleophile -SH attacks the central carbon and Br- leaves. Originally, the carbon has S configuration. The product should have R configuration because SN2 reaction inverts the configuration.
Work Step by Step
The -SH pushes groups one space over to give a R configuration. See image.