Statistics for Periodic solutions and the avoidance of pull-in instability in nonautonomous microelectromechanical systems