At least four victims were killed and eight others injured after a man rammed his vehicle into a church and started shooting.