Stony Brook (24-7, 14-2) was one of 10 automatic qualifiers in the 32-team field, guaranteed a slot because of it was the America East regular season champion. The Seawolves were upset by No. 4 seed Albany in the America East tournament semifinals.
They'll open against UMass (21-11, 9-7), which finished tied for sixth in the Atlantic 10.
St. John's (16-15, 8-10) received one of 22 at-large bids. The Red Storm, who finished 11th in the Big East, lost five games in a row to end the regular season. And they will be without leading scorer D'Angelo Harrison, who was suspended for the rest of the season on March 1, for conduct detrimental to the team.
They'll open against St. Joe's (18-13, 8-8), which finished tied for eighth in the Atlantic 10.
"We all wanted to be in the NCAA tournament, but we have to deal with the reality of where we are in the evolution of our basketball program," said St. John's coach Steve Lavin. "The NIT represents an opportunity to extend our season so we can set the foundation to sustain our program for years to come."
This marks St. John's 29th appearance in the NIT, which is the most all time.