Since a try for goal is defined in the rules book as an attempt to throw the ball into a team's OWN basket, there is no shot on this play. Treat it the same as a player throwing a pass. The ball is dead when the foul occurs.
Boy if I had a nickel for every time someone asks that question on this forum...