My gut tells me that the comma is wrong in both sentences, though I can’t satisfactorily explain why. However, I would use a comma in this sentence: Every time somebody jaywalks, they are to be ticketed.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.