During an attempted drug-trafficking bust this spring on Chicago’s South Side, police Sgt. James Madden took off running after a young man, chasing him into a darkened yard before losing the trail.

Sgt. Madden didn’t know where he was going. That’s because he works for a sheriff’s office 500 miles away, in the northwestern corner of Wisconsin.

The...