The problem is to determine the expansion of the unit step function in terms of Legendre polynomials on the interval $[-1,1]$.
Here the Legendre polynomials are the family of orthogonal polynomials on the interval $[-1,1]$ with the orthogonality relation,
$$ \int_{-1}^1 P_l(x) P_{l'}(x) dx = \frac{2}{2l+1} \delta_{l,l'}$$
Where,
$$ P_0(x)=1, \quad P_1(x) = x, \quad P_2(x) = (3x^2-1)/2, \quad \dots$$
With the recurrence relation,
$$\qquad P_{l+1} = \frac{2l+1}{l+1}xP_l(x)-\frac{l}{l+1}P_{l-1}(x)$$
The unit step function is, $$\Theta(x) = \begin{cases} 1 \qquad x \geq 0 \\ 0 \qquad x <0 \end{cases}.$$
We wish to find coefficients $a_l$ such that,
$$\boxed{ \Theta(x) = \sum_{l=0}^\infty a_l P_l(x) }$$


There is a much, much simpler computation that you can do. And this computation is in fact rigorous.
First, write $\Theta = \frac12 + (\Theta - \frac12)$. Note that the Legendre expansion of $\frac12 = \frac12 P_0$. The second factor is odd and so that the Legendre expansion of the second factor only contains $P_\ell$ where $\ell$ is odd.
When $\ell$ is odd, you have
$$ \int_{-1}^1(\Theta - \frac12) P_\ell = \int_0^1 P_\ell $$
and using Rodrigues' formula
$$ P_n = \frac{1}{2^n n!} D^n(x^2 - 1)^n $$
we have
$$ \int_0^1 P_{n}(x) \mathrm{d}x = \frac{1}{2^n n!} \left[ D^{n-1}(x^2 - 1)^n\right] \Big|_{0}^{1} $$
Observe now that $(x^2 -1)^n = (x+1)^n(x-1)^n$ vanishes to $n$th order at $1$. Thus $D^{n-1}(x^2-1)^n |_{x = 1} = 0$.
So
$$ \int_0^1 P_{n}(x) \mathrm{d}x = - \frac{1}{2^n n!} \left[ D^{n-1}(x^2 - 1)^n \right]_{x = 0} $$
Now, using the Binomial theorem we have
$$ (x^2 - 1)^n = \sum_{k = 0}^{n} {n\choose k} (-1)^k x^{2n - 2k} $$
So its $(n-1)$th derivative evaluated at the origin is $(n-1)!$ times the coefficient when $k = \frac12(n+1)$ (remember that $n$ here is odd). So
$$ \int_0^1 P_{2j-1}(x) \mathrm{d}x = - \frac{1}{2^{2j-1} (2j-1)!} \frac{(2j-1)!}{j! (j-1)!} (-1)^j (2j-2)! $$
which we simplify to
$$ \alpha_j = \frac{(-1)^{j+1}}{2^{2j-1} j} {2j-2 \choose j-1} $$
from this you can easily reassemble the series representation:
$$ \Theta(x) = \frac12 + \sum_{j = 1}^\infty (-1)^{j+1} \frac{4j-1}{j 2^{2j}} {2j-2 \choose j-1} P_{2j-1}(x) $$