If "something" happens to the mother so that she can no longer care for the child, you would most likely be first in line for custody. That presupposes that you don't have any big black marks against you such as drug use or alcoholism. Moving out of state once custody and parenting time have been decided by a court is quite difficult. Without your consent, the custodial parent must convince the court that such a move is in the best interests of the child and that is a very steep hill to climb. The law in Minnesota presumes that it is in the best interests of the child to be in the same state as the parent who does not have custody so that the parent-child relationship can be maintained.
Sign up to receive a 5-part series of useful information and advice about child custody law.