Let $a_1,\ldots,a_n,b_1,\ldots,b_5,c\in\Bbb{Z}$ with $c\neq0$ be such that
$$\prod_{i=1}^n(X-a_i)-\prod_{i=1}^n(X-b_i)=c.\tag{1}$$
Without loss of generality we may order the coefficients such that $a_i\leq a_j$ and $b_i\leq b_j$ whenever $i\leq j$, and interchange the $a_i$ and $b_i$ such that $a_1\leq b_1$. Moreover, for all $t\in\Bbb{Z}$ we have
$$\prod_{i=1}^n(X+t-a_i)-\prod_{i=1}^n(X+t-b_i)=c,$$
in particular for $t:=a_1$, and so without loss of generality the $a_i$ and $b_i$ are all nonnegative.
Some observations: Plugging in $0$ or $a_k$ or $b_k$, for all $k$ we have
$$c=\prod_{i=1}^n(b_k-a_i)=-\prod_{i=1}^n(a_k-b_i)=(-1)^n\left(\prod_{i=1}^na_i-\prod_{i=1}^nb_i\right).$$
In particular, we see that $a_i\neq b_j$ for all $i$ and $j$ because $c$ is nonzero. As a consequence, for $k=1$ we see that all factors in the second product are negative, and so $c$ is positive if and only if $n$ is odd. Moreover, we see that if $n$ is odd (even), then the number of negative factors in the second product is odd (even), regardless of $k$, and the number of negative factors in the first product is even (odd), regardless of $k$.
Proposition 1: For all $k$, the number of $i$ with $a_k<b_i<a_{k+1}$ is even, and the number of $i$ with $b_k<a_i<b_{k+1}$ is even.
Proof. We prove the claim for $a_k<b_i<a_{k+1}$; the other half of the claim is entirely analogous. If $a_k=a_{k+1}$ then the claim is trivial, so suppose $a_k<a_{k+1}$. Because $c$ is nonzero, the number of negative factors in the products
$$\prod_{i=1}^n(a_k-b_i)=-c=\prod_{i=1}^n(a_{k+1}-b_i),$$
is congruent mod $2$. This proves the claim.
Proposition 2: For all $i$ we have $a_i<b_i$ if $i$ is odd, and $a_i>b_i$ if $i$ is even.
Proof. The integral polynomial
$f=\prod_{i=1}^n(X-a_i)$
has precisely $n$ roots, counted with multiplicity, and hence it has precisely one extremum between each pair of distinct consecutive roots. This means that whenever $a_i\neq a_{i+1}$, the interval $[a_i,a_{i+1}]$ contains at most two solutions to $f(x)=c$. Of course we have
$$f(b_k)=\prod_{i=1}^n(b_k-a_i)=c+\prod_{i=1}^n(b_k-b_i)=c,$$
and so we see that each interval $[a_i,a_{i+1}]$ contains at most two of the coefficients $b_k$. By symmetry each interval $[b_i,b_{i+1}]$ contains at most two of the coefficients $a_k$. By proposition $1$ every such interval contains an even number of these coefficients, from which it follows that the $a_i$ and $b_i$ alternate in pairs.
Next, to see that $a_1\neq a_2$, note that by the Gauss-Lucas theorem, all zeros of the derivative of
$$g=\prod_{i=1}^n(X-b_i),$$
are contained in the interval $[b_1,b_n]$. This means there is at most one solution to $g(x)=-c$ with $x<b_1$, which must then be $a_1$. If $a_2=a_1$ then $g(x)+c$ has a double zero at $a_1$, meaning that $g'(a_1)=0$, contradicting the Gauss-Lucas theorem.
This means that the $a_i$ and $b_i$ must be ordered as
$$a_1<b_1\leq b_2<a_2\leq a_3<b_3\leq b_4<a_4\leq\ldots,$$
which proves the proposition.
I will not continue this line of investigation, as I have just seen the answer by Bart Michels pointing out that this problem is equivalent to the Prouhet-Tarry-Escott Problem, which has been open for a long time.