This is a ridiculous problem I faced a few days ago with UE4. I hadn’t opened it in about 2 months, and upon opening it up, any sort of hover over the interface buttons would turn the screen black, although I didn’t experience any crashes.
The way I got it fixed was by installing an older NVIDIA driver update, rebooting my PC, and then a couple of days later I again updated the latest update since I wanted to use UE5 with no issues, but I believe you could do it immediately after installing the old one.
Hopefully, this helps!