Joohyung Kim won for the first time on the PGA Tour at the Wyndham Championship, triumphing by five strokes.