Bad choice for upgrade. Newest hardware + not supported OS.
If your PC does not support PCIE 4.0 (I assume it does not), read about product before buying.
You can try Linux if your hardware does not work in Windows 10, but be aware before Kernel 5.18 released you need to force ASPM disabled.
PS. I recommend you to bring it back to seller and buy something older with Windows 8.1 support.