Hello There
Answer: A four-movement work with the movement structure slow-fast-slow-fast and that was supposedly intended for performance in church is called a sonata da chiesa.
Reason: Sonata da chiesa is a composition which usually contains four movements.
I hope this helps
-Chris