The Radeon RX 580 will run 99% of the top 11,000 PC games. It will also run 92% of these games at the recommended or best experience levels.
The COD Warzone game requires you to have at least 8GB RAM to run correctly on the Minimum settings. So, the answer to this would be that you can't run the game on 4GB RAM but would require a minimum of 8GB RAM; however, you can also try for 32GB RAM.