A suspected serial killer was sentenced Friday to 25 years to life for the 2004 slaying of a Brooklyn teenager.