I think you are conflating two different men, both named William Kernaghan.
This William was born (1827), married (1850) and died (1902) in NY: https://www.familysearch.org/tree/person/details/9HNQ-BPB
William Kernaghan married Margery Castles in Ireland in 1852, while the American William was having his children in NY.