The largest 5 digit number with the given digits can be formed by giving the highest digits the highest possible place value. This increases the value of thhe overall number. The highest digit here, 9, should be given the highest place value.
and similarly 8, 7, 5, and 4 should be in the next place values.
So the number will be 98,754.