It's a T and you shoot the two free throws. Lag time doesn't apply here since both officials have definite knowledge the technical foul happened before the end of the period.
Supporting NF rules are 5-6-3a and 3-3-2. The latter explains when a foul should be disregarded at the end of a quarter and this situation does not qualify.
__________________
Yom HaShoah
|