You've reformatted the drive as ext4, it's mounted so you should be able to use it. As for recovering old data, please watch this https://youtu.be/hmpY8TlBck4?si=n_bShpwN10K9WPd6
Here's how to recover partitions and files in Linux, provided not too much of the data has been overwritten.
Patreon support : https://www.patreon.com/doriandotslash
Music by MrGamer (@AndreasRohdin): https://soundcloud.com/gamermachine