Divine intervention in a play (4,2,7)
I believe the answer is:
deus ex machina
(Other definitions for deus ex machina that I've seen before include "An unlikely solution" , "Contrived agent who unexpectedly solves the insoluble" , "Late delivery" , "Contrived plot solution" , "Happy-ending contrivance (Lat.)" .)