Because normal subgroup equals kernel of homomorphism[1] I will first recap the normal subgroups of $S_{n}$. More concretely, we seek proper normal subgroups because $f$ is required to be non-trivial.
For $n\geqslant 2$, $A_{n}\triangleleft S_{n}$. For $n\ne 4$, $A_{n}$ is the only proper normal subgroup of $S_{n}$. For $A_{4}$, the only other proper normal subgroup is isomorphic to $K_{4}$. [2]
For $n\geqslant 2$ and $n\ne4$, because $\operatorname{ker}{f}\triangleleft S_{n}$ and $f$ is non-trivial, $\operatorname{ker}{f}$ could only be $A_{n}$. Therefore by the first isomorphism theorem, $\operatorname{Im}{f}\cong S_{n}/A_{n}\cong\mathbb{Z}_{2}$. The only subgroup with order $2$ of $\mathbb{C}^{*}$ is $\left\{\pm 1\right\}$. Therefore, there is a unique choice for $f$.
For $n=4$, we wish to exclude the case of $\operatorname{ker}{f}\cong K_{4}$. We attempt a proof by contradiction. Assume that $\operatorname{ker}{f}\cong K_{4}$, then $S_{4}/\operatorname{ker}{f}\cong S_{3}$ [3] and by the first isomorphism theorem, $S_{4}/\operatorname{ker}{f}$ is isomorphic to a subgroup of $\mathbb{C}^{*}$. But this is impossible because $\mathbb{C}^{*}$ is Abelian while $S_{3}$ is not, so no $f$ can exist with $K_{4}$ as the kernel.