Hi,
Since File Explorer crashes specifically when you use the search box, I suggest rebuilding the Windows Search index first.
Press Win + R, type:
control /name Microsoft.IndexingOptions
Then select Advanced > Index Settings > Rebuild. After the rebuild completes, restart the PC and test File Explorer search again.
If it still crashes, reset Windows Search using Microsoft's official steps here:
If the issue continues after that, please let me know and I can help you check the File Explorer crash log next.