This can be found by binomial probability distribution as the probability of success is constant. There are a given number of trials. the successive tosses are independent.
Here n= 5
The probability of getting a four in a roll of a die = 1/6
The probability of not getting a four in a roll of a die = 5/6
The probability of getting exactly three 4s in five throws is given by