I came across this video of D. A. Carson explaining how the Christian canon came to take the shape that it did. While I might quibble with a few points, I think his explanation is quite helpful and historically accurate. I hope you find it beneficial.