It’s likely a problem with the gimbal controller/motherboard. However, unfortunately, gimbals cannot simply be replaced but require calibration upon replacement that only DJI and Authorized repair centers have access to. Your best bet would be to...
I have three Agras T-50 controllers for sale. Shoot offers. Looking to get rid of them. They can probably work with other drones as well but I’ve been using them for T-50’s.