Ryan recommends trying his cousin’s chicken pie.
The two structures that I know are:
1. Someone recommends something(gerund).
2. Someone recommends another to do something(infinitve).
Your sentence belongs to Type 1.
Type 2 sentence would be: Ryan recommends his friend(or whoever) to try his cousin's chicken pie.
Interested in Language