Auto Third Person Mod (1.19.2, 1.18.2) allows you to automatically enter third-person mode when you fly an elytra, ride an animal, boat or minecart. Your camera view will return to the original state it was before you stopped flying or left your vehicle.
This is a great tool for riding horses or boats on rough terrain. It can also be very useful and annoying to have F5 repeatedly pressed.
You can control the types of entities that trigger the automatic camera toggle behavior. Also, you can choose whether your camera will automatically restore itself after you leave. Or, you can cancel the auto-restoration manually.