Can a gas turbine be able to switch from torque to thrust?
The main way to convert a gas turbine to provide thrust rather than shaft horsepower is to attach a large fan or propeller in place of the previous load. For example, the GE CF6, which powers aircraft such as the 747, 767, and A330, has a gas turbine variant called the LM6000 that provides around 50 MW of power.

If you want to provide thrust from the exhaust, you're talking about a turbojet, which will require a lot of changes. A gas turbine like that in the CF6 is designed to extract most of the power out of the exhaust gas to drive a load such as a fan or a generator. Just removing that load is going to cause the engine to be unstable. Each stage in a turbine engine is dependent on the stages around it for smooth operation and even small changes can cause problems. You might be able to salvage the high speed spool but the rest will have to be redesigned to provide a stable compressor section and provide most of the thrust from exhaust.

Turbojets are very loud and only start to be an efficient choice at high speeds. Even modern fighter jets are powered by low-bypass turbofans.