2006Hi, sorry if this isn't the right place for this posting. This sentence has quite a few commas, and I was hoping to get someone to look it over.
To his side, at times, would sit a dog, and not always the same dog. It could be any passerby willing to offer friendship or a tail wag for a pat on the head.
That's how I would write it.
Student or Learner