How do I need to modify this in order for it to be correct?
The center of $S_n$ (for $n\geq$ 3) is the trivial identity. Proof: Assume the center of $S_n$ is $C = \{ id , \tau \}$ where $ \tau \in S_n$ and $\tau \neq \ id$. Then for some $n$ the factor group $S_n\backslash C$ is abelian and solvable, a contradiction.
This formula should be helpful.
Suppose $\sigma,\tau\in S_n$, with $\tau=(a_1\ldots a_m)$ an $m$-cycle. Then:
$$\sigma\tau\sigma^{-1}=(\sigma(a_1)\ldots\sigma(a_m))$$