An Approximation Condition for Large Deviations and Some Applications