I’d start with a 4 string, easier to play to begin with and if the choice of music requires detuning its just as easy to detune a 4 to the correct pitch (if its ridiculously low then a thicker gauge of sting may be needed). To be honest not many styles of music “need” a 5, jazz or proper funk maybe, a lot of metal/rock bass players are moving away from the 5 and to detuned/re-stringed 4’s and most pop/rock/etc etc could easily be played on a 2 string!
5’s are great once you are familiar with bass playing and can use the advantages of the extra string, but for beginners its doesn’t hold any real advantages and cheaper 5’s the low B usually sounds weak anyway.
Buy a good quality second hand 4 and after a while of playing they’ll soon know if they’d like to try a 5 or stick with a 4.