Is there a way to open a range of ports versus an entry for each port from 5004 - 65535?

No, there is no way to specify a range of ports. You can specify port 0 to open all ports.