You are going to bottleneck any of those GPUs with the x4 940.
If it were me, I would buy a 1050ti for around $150. It makes the most sense with that CPU. Then I would save up a little bit more and get into a new platform.
RAM prices are killing you right now or you would be able to get it all for $300. Here is a good build that is $100 over your budget, but it would get you 60fps at medium settings.
PCPartPicker part list:
https://pcpartpicker.com/list/nj4sRG
Price breakdown by merchant: https://pcpartpicker.com/list/nj4sRG/by_merchant/
CPU: Intel - Pentium G4560 3.5GHz Dual-Core Processor ($82.88 @ OutletPC)
Motherboard: MSI - B250M PRO-VDH Micro ATX LGA1151 Motherboard ($56.98 @ Newegg)
Memory: Crucial - 8GB (2 x 4GB) DDR4-2400 Memory ($87.99 @ SuperBiiz)
Video Card: Asus - GeForce GTX 1050 Ti 4GB Phoenix Video Card ($144.99 @ Newegg)
Power Supply: Corsair - CX (2017) 450W 80+ Bronze Certified ATX Power Supply ($23.98 @ Newegg)
Total: $396.82
Prices include shipping, taxes, and discounts when available
Generated by PCPartPicker 2017-12-14 12:16 EST-0500
Your best option though may be the new 8100. The H and B mobos are supposed to be released next month and they will be a good bit cheaper than the Z370 boards. If it were me, I would buy a 1050ti now, game on it and save some money and in January I would get a 8100 with a B360 board. The 8100 will be much better than the G4560 above, it is just $40 more and the motherboards cost more. But it will be a good CPU for a long time.
PCPartPicker part list:
https://pcpartpicker.com/list/MYcbNN
Price breakdown by merchant: https://pcpartpicker.com/list/MYcbNN/by_merchant/
CPU: Intel - Core i3-8100 3.6GHz Quad-Core Processor ($127.99 @ SuperBiiz)
Motherboard: Gigabyte - Z370 AORUS GAMING WIFI (rev. 1.0) ATX LGA1151 Motherboard ($102.98 @ Newegg)
Memory: Crucial - 8GB (2 x 4GB) DDR4-2400 Memory ($87.99 @ SuperBiiz)
Video Card: Asus - GeForce GTX 1050 Ti 4GB Phoenix Video Card ($144.99 @ Newegg)
Power Supply: Corsair - CX (2017) 450W 80+ Bronze Certified ATX Power Supply ($23.98 @ Newegg)
Total: $487.93
Prices include shipping, taxes, and discounts when available
Generated by PCPartPicker 2017-12-14 12:20 EST-0500