Entering the ministry of the Church of Scotland, Shaw was presented by the Duke of Gordon, in July 1779, to the parish of Ardclach in the presbytery of Nairn; but resigned the charge 1 August 1780.
On 1 May 1795 Shaw was presented to the rectory of Chelvey, Somerset.