Having played both and DMd a bit of 5e, I think the first question you want to answer for yourself is would you prefer an easier system or a harder system? D&D 5e has been simplified down from earlier editions of D&D, while I find Pathfinder 2e to be more challenging in terms of gameplay.
Some of my personal opinions of each system in comparison of features and gameplay mechanics.
Class system - I prefer 5e’s class system to PF2e’s system. 5e is better for things like multiclassing and I think it has a better setup for subclasses. Pf2e really doesn’t have subclasses, you pick a certain specialty for the respective class at lvl 1, but you are not gonna get as many extra features out of it compared to 5e sublcasses. Same goes for main classes as well. In 5e you are given certain things at various lvls automatically for your class and subclass, but in PF2e you have to pick one choice from various class features every other lvl so you won’t get access to all the things the class has to offer. This goes for PF2e multiclassing as well, you pick an “archetype” for a second class which gives you access to a much more limited selection of class features to pick from for the second class, or archetype as labeled by PF2e. Classes also feel nerfed to me in Pf2e to a certain extant. Fighters don’t get things like Second Wind or Action Surge, you’re not going to see clerics running around in heavy armor and casters feel gimped a bit in their spellcasting abilities. Gotta go with D&D 5e for class system.
Combat - Mmmmm mixed bag for me here, both systems have their ups and downs. 5e is definitely more simplistic for combat where all classes get one action specifically for movement, then one standard action for attacking/casting, a bonus action and a free or quick action. PF2e has a more open action economy where each character has three actions to use for movement, attacking, casting or whatever as well as having a free/quick action. There are no bonus actions in PF2e and there is no “multi-attack” ability in PF2e as there is in D&D 5e. Anyone can attack multiple times in combat with a weapon per the three actions in PF2e, but consecutive multiple attacks in PF2e suffer from scaling attack penalties. PF2e has better tactical combat with things like flanking modifiers and skill checks to attempt to move through enemy spaces and such. But PF2e has far worse afflictions and negative status modifiers than D&D 5e. For example, getting the status effect of poisoned in PF2e can be way worse than 5e. In PF2e the poison effect will have worse negative status/ability modifiers with the potential to get worse if you fail consecutive saving throws. This goes for a lot of condition/status effects in PF2e. Getting downed can be much worse in PF2e as well, if you get reduced to 0 hp and someone manages to get you back up, you will have a Wounded condition debuff of sorts that can get worse if you go down again before getting rid of the Wounded condition.
Equipment and crafting - PF2e is superior in regards to gear and crafting. There is a rune system for adding effects, armor class modifiers and attack/damage modifiers to weapons and armor that allows players to upgrade weapons and armor that is more limited only by character lvl and funds rather than what good stuff you might happen to find in lot in D&D 5e. By the time you start getting +1 stuff in 5e you will likely have better stuff around the same point in PF2e. Crafting is also better in Pf2e I think, but you have to have the actual crafting skill and rank it up in PF2e as opposed to using tool proficiency in D&D5e. Crafting in PF2e also relies on downtime to make use of it just like 5e.
Spells and casting - This is an area where I prefer 5e, PF2e restricts casters more than 5e I feel and I don’t think spell damage scales as well as the rune system for weapons. In 5e casters generally have a selection of known spells and then spell slots and they are free to cast any of their known spells using these spell slots according to spell lvl and upcasting. In PF2e casters have a selection of known spells and spell slots but they are not free to cast any of their known spells or upcast freely using the spell slots as they wish. If you want to cast a spell in PF2e the caster has to have the spell slotted to a slot, thus the caster’s selection of spells to actually cast is very specific to only spells they have slotted to specific slots. This goes for upcasting too. So by way of example if a caster has three level 3 spell slots and they wanted or expected to cast fireball they would need to slot fireball specifically in one of those three slots and if they want to cast it more than once they would have to slot it more than once. If they intend on upcasting fireball at any point they would need to specifically slot fireball in a higher spell slot. I don’t like this at all, very limiting.
Overall I still prefer 5e, it is less punishing in comparison to PF2e. But I would prefer Pf2e’s rune system for gear in 5e although it would probably make 5e even easier.