Ah no worries I got it fixed. The problem was all along an Intel Wifi driver. After disabling the driver from Device Manager computer works now flawlessly. Double boot problem has also been solved after changing the 3200MHz ram to 2400MHz which the i5-10400F supports.
So I got some parts for my old PC and istalled them succesfully. The new parts are:
Motherboard: B560 Aorus Pro AX
RAM: 2x8GB Corsair Vengeance DDR4 (CMK16GX4M2E3200C16)
CPU: Intel i5-10400F 2,9GHz
And for GPU I have my old NVIDIA GeForce 760
SSD: Kingston SH103 120GB
Hard Drive is...