The answer is positive, at least in first-order classical logic (which is the logic you refer to, I guess), where you have completeness and soundness theorems.
_Completeness_ theorem states that if every model of $A_1, \dots, A_n$ is a model of $A$ then $A$ can be derived from $A_1, \dots, A_n$.
_Soundness_ theorem is the converse of completeness, it states that if $A$ can be derived from $A_1, \dots, A_n$ then every model of $A_1, \dots, A_n$ is a model of $A$.
If $S' = \\{A_1, \dots, A_n, \lnot A\\}$ is not consistent then $S'$ is not satisfiable i.e. there is no model satisfying $A_1, \dots, A_n, \lnot A$ (because by soundness theorem, if there were such a model, it would satisfy a contradiction, that is impossible). So, every model of $A_1, \dots, A_n$ cannot be a model of $\lnot A$ and hence it is a model of $A$. Therefore, $A$ is derivable from $A_1, \dots, A_n$ by completeness theorem.
Note that the hypothesis that $S$ is consistent is superfluous.