Yes, a legal sub can enter during any clock stoppage.
Yes, the ball is put in play at the nearest spot OOB. Do you have an NFHS mechanics manual? There's a diagram. It maybe in the rules book as well.
Basically, anything in the paint, FT half circle and from the FT line corners to the end line corners goes to the end line. Everything else goes to the closest sideline.