A woman convicted of befriending another woman at a suburban Philadelphia shopping mall and then taking her baby has been sentenced to 1½ to seven years in prison.