'Jersey Shore' cast member to avoid trial