With that 5/04, I don't think you will have a problem. The FRN 7 is very old, and the newer firmwares only added features to the best of my recollection.
We recently were awarded a job adding radio comms to a system with a 5/04. My radio hardware requires Modbus RTU capability and their old FRN doesn't support it. For about the same price as a firmware upgrade kit, I bought one used from Mark and I trust his used equipment.
The SLC 5/04 he sold us has more memory than the old one, but that is also not a problem.
Here's another one:
https://www.plccable.com/allen-bradley-1747-l541-series-c-cpu-rev-7-frn-8-processor-scl-500-5-04/
When you swap the CPU to one that is different, there are a couple things I typically do. Since the new unit will also have the same comm ports (DH+, serial) nothing has to be checked there. Since it will likely have a newer FRN, I still like to select the controller (offline) in RSLogix 500 with the right FRN range. I think in most cases you don't have to modify the controller properties, and the software will detect the difference and warn you when you attempt to download. I like to do this offline manually and Save As with a new file name.
When you change the controller selection, the software will prompt you to clear the IO and resize data tables. I almost always uncheck the option to resize data tables. If you leave that box checked, the software will truncate data tables to the last element in use and that can screw things up if there is indirect addressing or just wipe out your spares that I always like to keep.
Aside from that, you should not have to do anything else. Since it is a DH+ CPU, you will probably want to dump the program into it through the serial port, or isolate it from the DH+ network until you have the node number set so there is not a duplicate node number when you power on the new CPU.