You may want to state your full system's specs like so:
CPU: i5 2400
Motherboard: Gigabyte H61M
Ram: 1333mhz 8 GB
SSD/HDD: W
GPU: Zotac Gtx 1050 ti mini 4 gab
PSU:450 without 6 pin and unbranded
Chassis: Simple old and big size
OS:window
It might also seem like your PSU is dead/dying and I fear it's taken more than just itself.