The term used when you call someones name from behind or tell them to look somewhere, causing them to suddenly turn their neck in order to look. Hence, they move their neck in a violent manner as if to figurativly "break their neck".
Little Tim is walking and Stuy yells,"Hey Timmy". Little Tim turns suddenly and Stuy hollas "BROKE NECK!".