Shelbourne were crowned Premier Division champions in dramatic circumstances thanks to Harry Wood’s late goal at the Brandywell.