You can create a new support ticket inside of Stripe and explain that you wish to export tokens out of Stripe and over to your new payment gateway. A good resource from Stripe's documentation is here,
Stripe can help you migrate your customer card information to a new payment processor. To do this securely, Stripe prepares an encrypted JSON export file containing your data, including the card details of your customers, email addresses, and any attached metadata. We then arrange a secure transfer with your new processor, who uses this file to import the data into their system. You can start the migration process by contacting Stripe with the name of your new payment processor.