If your pan is set up for a one-piece rubber gasket that's what I'd use.
I would not use just "RTV", meaning the stuff that you squeeze out of a tube. Instead, if you want to use a formed-in-place gasket I'd use The Right Stuff, which is designed to be used instead of gaskets.
The difference is that the RTV in a squeeze tube doesn't expand, so you'd put it on, put the pan in place, and gently tighten the bolts to finger tight so you don't squeeze it all out and have metal-on-metal. Then you let that set up overnight and come back the next day to torque it down.
But with TRS you pull the trigger and it dispenses via gas pressure. Then you put the pan on and tighten it down and the stuff expands to fill all voids.
However, installing a pan while the engine is on the vehicle is very fiddly. And since it is easy to mess up the stuff you've put on the pan while you are installing it, I'd only use RTV or TRS with the engine out and on a stand.
Gary, AKA "Gary fellow":
Profile
Dad's: '81 F150 Ranger XLT 4x4: Down for restomod: Full-roller "stroked 351M" w/Trick Flow heads & intake, EEC-V SEFI/E4OD/3.50 gears w/Kevlar clutches
Blue: 2015 F150 Platinum 4x4 SuperCrew wearing Blue Jeans & sporting a 3.5L EB & Max Tow
Big Blue: 1985 F250HD 4x4: 460/ZF5/3.55's, D60 w/Ox locker & 10.25 Sterling/Trutrac, Blue Top & Borgeson, & EEC-V MAF/SEFI