I'd need more information to be able to definitely say that this is your ancestor, but the fact that the father is 'Hamilton" may be a clue.
This transcription is from rootsireland. James Stewart was baptized in the COI on 23 August 1805 in parish of Donaghadee; parents Isabella and Hamilton Stewart.