$5 more for me!
Greg, it depends what league Player A is playing in. If he's a HS or college player, the play is perfectly legal. If he plays in the NBA, he's traveled when he touches the ball after the first shot.
BTW, we see this question about twice a week. The person who asked it has to send me $5!