When digits are not repeated: In a 4-digit number greater than 5000, the thousandth place can be filled up by either 5 or 7.
If the thousandth place is filled by 5 then the other three places can be filled in = {4 $\times$ 3 $\times$ 2 = 24} ways.
Similarly when the thousandth place is filled by 7 then the other three places can be filled in = 4 $\times$ 3 $\times$ 2 = 24 ways.
$\therefore$ Without repeating digits, total number of 4-digit numbers greater than 5000 can be formed = 24 + 24 = 48.
Now to find the number of 4-digit numbers greater than 5000 and divisible by 5 (without repetition ).
A number greater than 5000 and divisible by 5 when the unit place is either 0 or 5 and the thousandth place is either 5 or 7.
case-I: When thousandth place is filled by 5, then the unit place will be filled by 0 (zero)
and a number of such numbers = 3 $\times$ 2 = 6.
case-II: When thousandth place is filled by 7, then unit place will be filled by either 0 (zero) or 5
and number of such numbers = 2(3 $\times$ 2) = 12.
$\therefore$ Without repetition, the total number of 4-digit numbers greater than 5000
and divisible by 5 = 6 + 12 = 18. [by case-I and case-II]
Hence, the required probability $={\frac{18}{48}=\frac38}$