Well, it has the same socket type AM3+, so yes, it should work fine.
But all in all, the FX-xxxx CPU's are all pretty dated, for the money you would spend on them, you could easily get a more modern i3 instead. The FX-9590 is also a huge power hog and what I can tell from benchmarks, it also produces a shitton of heat, so you'll also need a good PSU and a very good cooling setup.
A good i3 at the same price range as the FX-9590 is i3-7350K . However, throw a little on top and you can easily get a i5-7600, which performs almost 50% better then the FX-9590. But if you like to stay with AMD, then the only modern CPU's they have are Ryzen, cheapest one being Ryzen 5 1400, but it also uses a different socket, namely SAM4.
a modern CPU doesn't face the FX-XXXX problems, only problem is, you'd also need to switch out your MOBO because of a different socket.
Are you just looking to upgrade your current CPU, or are you actually building a new rig?