After talking to Gyuki (Hachibi), Naruto guessed that the scar on the Third Raikage chest may have been made by his own Jigokuzuki (Hell Stab). Based on that, he prepared a plan to make the Raikage stab his own chest.
He went into Sage Mode, prepared a Rasengan, and ran towards the Raikage as if to hit him head on with the Rasengan. The Raikage too ran towards Naruto aiming to stab him with his One-Finger Nukite.
Naruto's Sage Mode allows him to better sense the enemy, so he could dodge the Raikage's finger at the last moment. It also give him better speed, so he could quickly redirect his Rasengan to aim at the Raikage's elbow, before the Raikage could dodge it. This impact bent his elbow causing his attack to pierce his own chest.