A former music teacher at St. John's school and church in southeast Denver agreed to a plea bargain that will likely keep him out of jail.