A former live-in nanny who had sex with an 11-year-old Florida boy — and later gave birth to his child — has been sentenced to 20 years in prison.