Question I want to upgrade my cpu on my gateway dx4300-15e for gaming

You are better off with starting with an entirely new setup and sell that one.
Something like this - depending on how much money you have to spend

PCPartPicker Part List

CPU: AMD - Ryzen 3 2200G 3.5 GHz Quad-Core Processor ($86.99 @ Amazon)
Motherboard: ASRock - B450M-HDV Micro ATX AM4 Motherboard ($67.93 @ OutletPC)
Memory: Team - T-Force Vulcan 16 GB (2 x 8 GB) DDR4-3200 Memory ($74.99 @ Newegg)
Storage: Intel - 660p Series 512 GB M.2-2280 Solid State Drive ($62.89 @ OutletPC)
Video Card: EVGA - GeForce GTX 1650 4 GB XC GAMING Video Card ($159.99 @ Newegg)
Case: Cooler Master - MasterBox Lite 3.1 MicroATX Mid Tower Case ($43.42 @ Amazon)
Power Supply: SeaSonic - S12III 550 W 80+ Bronze Certified ATX Power Supply ($49.61 @ Amazon)
Total: $545.82
Prices include shipping, taxes, and discounts when available
Generated by PCPartPicker 2019-05-29 21:39 EDT-0400