Just use deBoor's algorithm. It doesn't require distinct knots.
However ...
I assume that $B_0^4(x)$ means the b-spline basis function of order four (degree three) that is non-zero over the interval between knots $t_0$ and $t_4$. If my assumption is correct, you're in trouble. A basis function of order $4$ depends on six knots, and you have only five knots.