Rome to Naples is a high speed train. Naples to Pompeii and/or Sorrento is by slow tram, about 1/2 hour to Pompeii, another 1/2 hour or more to Sorrento, called the Circumvesuviana train. The train runs about every 30 minutes but at some times and some days it may be only every hour. It is not particularly punctual. There is baggage storage at Pompeii.
It shouldn't be too hot in April at Pompeii, certainly not like mid-summer. It depends on what you want to see in Naples. The National Archaeology Museum has most of the artwork from Pompeii and the other towns buried by Vesuvius - frescoes, mosaics, etc. as well as a lot of other ancient works. 2 hours is a good time estimate. The metro runs between the Museum and the train station. If you want to see the historic center, it's in the other direction from the museum. Beginning in April, Pompeii is open until 7.30 pm, so you could see some of historic Naples, visit the museum and spend 2-4 hours at Pompeii in one day, in that order, if you don't have a lot of luggage to lug around and you get up bright and early. There is luggage storage at the train station, but if you arrive late at night it may not be open. Try to stay in a hotel near the train station.
The last train from Naples to Florence (per Trenitalia's website) leaves at 7.30 pm (3 hour ride) - unless you want to take the overnight that leaves at 9.46 p.m - 6 hours on that train to Pisa (pricey for a sleeper, regular price if you sit up all night), then an hour in the station and a 1-hour-plus ride to Florence. If you have to be in Naples at 7.30, you'll want to leave Sorrento in plenty of time, since the Circumvesuviana can be late. I really don't see how you can enjoy time on the Amalfi coast and get to Florence in one day. Ferries begin running in April, some early in the month, some late in the month. But if the seas are rough, they don't go out. If you're there around Easter week, there may be crowds and lines for buses.
There are two ways to get to the Amalfi Coast, going through Sorrento and going through Salerno. They're both indirect. Sorrento is more convenient for Pompeii, but Salerno is on the fast train line. In Pompeii you could take a taxi or a longish walk from the ancient site to the modern city train station to Salerno. In Salerno you can get buses and ferries to the Amalfi Coast. That may be a slightly better option. Bonus - Salerno is cheaper than Sorrento.