Warner Music Group, the record label of such stars as Madonna and Green Day, agreed to pay $5 million to settle a payola investigation by the New York attorney general's office, acknowledging that some employees had engaged in radio promotions that were "wrong and improper."