Being unhappy with your class choice is a normal thing in any game, especially Mass Effect: Andromeda. Thankfully, in this case you have a solution for changing when you deem it necessary.
To respec, simply head into the main menu and enter the Profiles section. Classes are called Profiles in Andromeda, and this menu will allow you to switch between any you have unlocked.
Unlocking additional Profiles requires you to spend skill points.
You can switch between Profiles freely allowing for a lot of experimentation. Don't hesitate to switch things up often to see what works best for you.
Check Out More Mass Effect: Andromeda Coverage:

Embark on an inspiring mission of human connection beyond the UCA. Sam — with companions by his side — sets out on a new journey to save humanity from extinction. Join them as they traverse a world beset by otherworldly enemies, obstacles and a haunting question: should we have connected?