The Federal Emergency Management Agency has awarded nearly $20 million to an upstate New York school district to replace an elementary school flooded by Tropical Storm Lee last year.