Complex sentence: It was written by Swift with Max Martin and Shellback, with production handled by the latter two, and Scott Borchetta serving as executive producer.
Split into simpler sentences: It was written by Swift with Max Martin and Shellback. Production was handled by Martin and Shellback, with Scott Borchetta serving as executive producer.