Let $R$ be a ring (unitary, commutative, associative) and $M$ an $R$-module. Is the functor \begin{eqnarray*} F & : & {R}\mathbf{-Alg} & \longrightarrow & \mathbf{Grp}\\ & & A & \longmapsto & \operatorname{Aut}(M\otimes_{R}A) \end{eqnarray*} representable? I know this is true if $M=R^{n}$ for some $n\in\mathbb{N}$, for then it is represented by the ring \begin{equation*} A[x_{11},...,x_{nn},y]/(\det(x_{ij})y-1)\text{.} \end{equation*} I guess (although this is no more than a gut feeling) this should be true at least if $M$ is finitely generated and flat, but I might be wrong.
As usual, a literature reference might also be helpful.
If $R$ is noetherian and $M$ is finitely generated then the automorphism sheaf is representable if and only if $M$ is projective, see here.