Dramatic denouement when God appears from a machine (4,2,7)
I believe the answer is:
deus ex machina
(Other definitions for deus ex machina that I've seen before include "Contrived plot solution" , "An unlikely solution" , "Contrived agent who unexpectedly solves the insoluble" , "Unexpected problem solver" , "rather improbable device" .)