Probably try to get an entry level gaming laptop with a H processor and with 16/32gb RAM. Just make sure the ram (2 slots) and ssd (has an additional slot for extra one) are upgradable. Lenovo,MSI or Asus entry level gaming laptop will suite you. Just go with a brand and model commonly available in your country,so that if something goes wrong the part cost will be less. (All these are electric devices, so sometimes unexpected things can happen know).
It is good, if you can get a new one mate.
If the budget is an issue, just get the restarting problem fixed, upgrade the ram to 8gb (if it supports upgrading) and also get an ssd instead of the hdd(if you have a slot for an additional hard disk, you can keep the old one as well).