ThatPositive answer. Without any further hypothesis, the answer is positive if $i$ equals $0$. This is one of the theorems the follows from the "Exchange Property" in Section 7.7 of EGA III_2. If $i$ equals $1$, at least there is a well-defined functor: because $\mathcal{E}$ is $A$-flat, for every short exact sequence in the Yoneda-Ext group $\text{Ext}^1_{\mathcal{O}_{X}}(\mathcal{E},\mathcal{F})$, the base change to $B$ is still a short exact sequence.
When $X$ is $A$-flat, there are well-defined functors for every $i$. Moreover, there is a bounded below complex whose terms are finitely generated, locally free $A$-modules whose homology modules compute the Ext groups compatibly with arbitrary base change. Since $p$ is projective, there exists a $p$-ample invertible sheaf $\mathcal{O}_X(1)$. Thus, there exists a bounded above resolution of $\mathcal{E}$ by $\mathcal{O}_X$-modules that are finite direct sums of twists $\mathcal{O}_X(-d)$ with $d$ so positive that $\mathcal{F}(d)$ has vanishing higher direct image sheaves for $p$. Thus, we can compute $R\textit{Hom}_{\mathcal{O}_X}(\mathcal{E},\mathcal{F})$ by forming the usual sheaf Hom of this resolution into $\mathcal{F}$. By construction, this new bounded below complex has terms that are finite direct sums of coherent sheaves $\mathcal{F}(d)$ having vanishing higher direct image sheaves. Thus, $Rp_*$ is just $p_*$. Altogether, this gives a bounded below complex of finite free $A$-modules whose homologies compute the Ext groups, compatible with arbitrary base change (since everything, including the sheaves $\mathcal{O}_X(-d)$, is $A$-flat).
Negative answer. For $i\geq 2$, the conjecture is false without further hypotheses, e.g., flatness of $p$. If you assume that $p$ is flat, then I believe the conjecture is true (I will try to return to this soon).
But then the same hypotheses apply for the functor $\text{Ext}^2_{p_B}(\mathcal{E},\mathcal{F})$. However, now the base change to $A[1/s]$ is representable by a locally free sheaf of rank $2$, whereas the base change to $A/sA$ is representable by a locally free sheaf of rank $1$. There is no finitely generated $A$-module $R$ such that $R\otimes_A A[1/s]$ is free of rank $2$ yet $R/sR$ is free of rank $1$.
On the other hand, if you do assume that $p$ is flat, probably the conjecture holds. Since $p$ is projective, there exists a $p$-ample invertible sheaf $\mathcal{O}_X(1)$. Thus, there exists a bounded above resolution of $\mathcal{E}$ by $\mathcal{O}_X$-modules that are finite direct sums of twists $\mathcal{O}_X(-d)$ with $d$ so positive that $\mathcal{F}(d)$ has vanishing higher direct image sheaves for $p$. Thus, we can compute $R\textit{Hom}_{\mathcal{O}_X}(\mathcal{E},\mathcal{F})$ by forming the usual sheaf Hom of this resolution into $\mathcal{F}$. By construction, this new bounded below complex has terms that are finite direct sums of coherent sheaves $\mathcal{F}(d)$ having vanishing higher direct image sheaves. Thus, $Rp_*$ is just $p_*$. Altogether, this gives a bounded below complex of finite free $A$-modules whose homologies compute the Ext groups, compatible with arbitrary base change (since everything, including the sheaves $\mathcal{O}_X(-d)$, is $A$-flat).