Play ended at the A-28 and since Team A had not made the line to gain, possession belongs to Team B.
Team B would then be penalized 15 yards for the dead-ball foul.
I have Team B 1st & 10 at the A-43.
(for the purposes of clarity, I did not change Team A/B designations despite the change of possession).