PCPartPicker part list:
https://pcpartpicker.com/list/JGbTw6
Price breakdown by merchant: https://pcpartpicker.com/list/JGbTw6/by_merchant/
CPU: Intel - Core i5-7500 3.4GHz Quad-Core Processor ($194.29 @ OutletPC)
Motherboard: Gigabyte - GA-B250-HD3 ATX LGA1151 Motherboard ($56.98 @ Newegg)
Storage: Western Digital - Caviar Blue 1TB 3.5" 7200RPM Internal Hard Drive ($46.49 @ OutletPC)
Case: NZXT - S340 (White) ATX Mid Tower Case ($54.99 @ Newegg)
Total: $352.75
Prices include shipping, taxes, and discounts when available
Generated by PCPartPicker 2018-02-10 06:07 EST-0500
Something like this and if you can buy a ssd as well.
If you can try an amd build since if you go with 8th gen you would have to pay a for a z series board which will be over your budget.