Intel i7-4770(K) > Intel i7-3770(K) > AMD FX8350
Pretty much. The only reason to grab an FX-8350 is if you also need to run heavily multithreaded applications (CAD, video encoding, etc.) as well as gaming, and you cannot afford an Intel i7.
And a clarification. The i7-4770k is better than the i5-4670k for gaming, but the it isn't worth the $100 price jump. You'll only gain another ~0-5fps by making the jump from the i5-4670 to the i7-4770.
Intel i7-4770k, 16GB Crucial Ballistix DDR3-1600, NVIDIA Geforce GTX 660 Ti, GIGABYTE GA-Z87X-UD4H, Seasonic X Gold 650W, Samsung 840 Pro 256GB SSD, WD Caviar Black 750GB x 2, WD Caviar Blue 1TB, Win8 Pro x64, Fractal Design Define R4
AMD FX-8350, 16GB Kingston HyperX DDR3-1866, AMD Radeon HD 6870, GIGABYTE GA-990FXA-UD3, Seasonic X Platinum 650W, Crucial M4 128GB SSD, WD Caviar Blue 1TB, Win7 Pro x64, Antec P280