You may be thinking of her very famous short story, "The Lottery", published in The New Yorker magazine on June 26, 1948.
While "The Lottery" was published in The New Yorker, Shirley Jackson herself was not the publisher.
It's important to remember that magazines have their own editorial teams and publishing houses.