Cramlington
I was in hospital there earlier this year

freeBMD shows the death of a James
Boston in Newcastle upon Tyne R.D. in 1865
Frustratingly I can't find it as Boston or Baston on the GRO website to find out his age to see if there's a match with your James.