If $f_n$ converges to $f$ uniformly in $\mathbb{R}$, then
\begin{equation*} \lim_{n\to\infty}\int_a^b f_n(x)\,dx =\int_a^b f(x)\,dx \end{equation*}
but it's not true in general that
\begin{equation*} \lim_{n\to\infty }\int_{-\infty}^\infty f_n(x)\,dx =\int_{-\infty}^\infty f(x) \, dx. \end{equation*}
I cannot think of any counterexample.