Proof (divisibility of polynomials in UFD and its field of fractions)
Certainly $J \subseteq I\cap R[X]$.
Let $f\in I\cap R[X]$. Then $$ \begin{align*} f = gh \end{align*} $$ for some $h\in F[X]$. "Clear denominators" by choosing $b\in R$ such that $bh \in R[X]$. Then $$ \begin{align*} bf = g\cdot (bh). \end{align*} $$ Write $bh = c(bh)\, \tilde h$ where $\tilde h\in R[X]$ is primitive. Now $$ \begin{align*} &bf = c(bh)\, g\, \tilde h \tag{*}\\ \implies& b\,c(f) = c(bh)\,c(g\, \tilde h) \end{align*} $$ Since $g$ and $\tilde h$ are primitive, so is $g\,\tilde h$, so $c(g\tilde h)$ is a unit. Hence $c(gh) = u\cdot b\,c(f)$ for some unit $u\in R$. Substituting into $(*)$ and cancelling $b$, $$ \begin{align*} f = u\,c(f)\, g\, \tilde h \end{align*} $$ so $f$ is divisible by $g$ in $R[X]$.