I don't see much critical for a substiture pass transistor in a linear power supply, other than safe operating area.
How many amps is the 5V output? Raw DC voltage is? If you really want to dig in, a schematic helps. Otherwise, just use brute force and put in a beefy part with similar speed and enough hFE so that the LM723 is not loaded much.
2N6284 is low cost and has SOA curve to check, and 160W rated.
MJ11012 is stronger SOA and 200W rated.