Is my PC enough to make games in UE4?

Hi ok if I am buying the FX 6300 I will buy a new mainboard and sell my current haswell 1150 mainboard with my pentium G in it. I have a old stick of 2GB DDR3 ram sitting around so i can toss it in the board and slap on the board in a nice extra tower I have with HDD and powersupply and dvd burner and sell the whole system with windows 7 or something on it.

Does that sound like a good plan? and use the cash to put towards my new system with FX 6300 and more RAM for 8GB and I am thinking a GTX 750ti or a R9 270 AMD.

The FX 6300 is super cheap $95 on amazon. UE4 uses 8 cores right?

One thing I wanted to know, would you even recommend all of this to me considering I am a student and have only started learning programming? Do you think I would need all of this power? I have no idea if my game would even be a success.