In Stein's method, an exchangeable pair approach is commonly used to estimate
the convergence rate of normal and nonnormal approximation. Using the
exchangeable pair approach, we establish a Cram\'er-type moderate deviation
theorem of normal approximation for an arbitrary random variable without a
bound on the difference of the exchangeable pair. A Berry--Esseen-type
inequality is also obtained. The result is applied to the subgraph counts in
the Erd\"os--R\'enyi random graph, local dependence, and graph dependency.