Perhaps it's clearer if we look at
$$
\lim_{n\to\infty}\frac{4n^3+3n+1}{3n^2+1}
$$
The trick is to collect the highest power of $n$ in the numerator and the highest power of $n$ in the denominator:
$$
\lim_{n\to\infty}
\frac{n^3\bigl(4+\frac{3}{n^2}+\frac{1}{n^3}\bigr)}
{n^2\bigl(3+\frac{1}{n^2}\bigr)}=
\lim_{n\to\infty}
n\frac{4+\frac{3}{n^2}+\frac{1}{n^3}}
{3+\frac{1}{n^2}}
$$
Now the fraction has limit $4/3$, but there's the factor $n$ so the limit is $\infty$.
Your case is the same, there's just one term in the numerator, which of course is the highest degree:
$$
\lim_{n\to\infty}\frac{4n^3+3n+1}{3n^2+1}=
\lim_{n\to\infty}
\frac{n^3\cdot4}
{n^2\bigl(3+\frac{1}{n^2}\bigr)}=
\lim_{n\to\infty}
n\frac{4}{3+\frac{1}{n^2}}=\infty
$$
This also works for other cases:
$$
\lim_{n\to\infty}\frac{2n^2+n-1}{n^3-n^2-n+1}=
\lim_{n\to\infty}
\frac{n^2\bigl(2+\frac{1}{n}-\frac{1}{n^2}\bigr)}
{n^3\bigl(1-\frac{1}{n}-\frac{1}{n^2}+\frac{1}{n^3}\bigr)}=
\lim_{n\to\infty}
\frac{1}{n}
\frac{2+\frac{1}{n}-\frac{1}{n^2}}
{1-\frac{1}{n}-\frac{1}{n^2}+\frac{1}{n^3}}
$$
Here the fraction has limit $2$, but the factor $1/n$ makes the limit to be $0$.
If the numerator and denominator have the same degree, it's similar: you just get a fraction which you can easily compute the limit of.