To avoid confusion, this is the version of the Fourier transform that I will use in my answer:
$$f(x)\longmapsto \hat{f}(\omega)=\int_{-\infty}^\infty e^{-i\omega x}f(x)\,dx.$$
One way is to determine the Fourier transform of $\sin(ax)$, and then using the fact that division by $-ix$ corresponds to integration in the frequency domain.
The transform of the sine function is
$$\sin(ax)=\frac{1}{2i}(e^{iax}-e^{-iax})\longmapsto\hat{f}(\omega)=\frac{1}{2i}(2\pi\delta(\omega-a)-2\pi\delta(\omega+a))=\frac{\pi}{i}(\delta(\omega-a)-\delta(\omega+a)),$$
where $\delta(\omega)$ denotes the Dirac delta.
We now get
$$g(x)=\frac{\sin(ax)}{x}\longmapsto \hat{g}(\omega)=-\pi\int_{-\infty}^\omega (\delta(u-a)-\delta(u+a))\,du=\pi(H(\omega+a)-H(\omega-a)),$$
where $H(\omega)$ is the Heaviside step function.