Recycle allows the user to regain a held item, such as a Berry, once it has been consumed. Consumed items are not forgotten when the Pokémon is switched out. Recycle can recover items consumed by Bug Bite, Fling, Natural Gift, and Pluck, but not items lost by Thief, Covet, Trick, Switcheroo, or Bestow.
Recycle can recover items consumed that were originally another Pokémon's, but transferred to the Pokémon with Recycle via Thief, Covet, Trick, Switcheroo, Bestow, or Pickpocket.
It would work with Fling, and Natural Gift, and Trick depends. if it is was Tricked to you and you lose the item though another method that's not Trick, you can Recycle it back, but not if you're trying to Recycle the item that was tricked to the opponent.
And also you can recycle all berries.
The target is unable to use its held item and the Trainer is also unable to use items on that Pokémon for five turns. The effect wears off if the Pokémon switches out.
I think you can get the item back, but not use it.
If you use Recycle through Sleep Talk, Metronome, Copycat, Mimic or Assist it will work.
Yep, you can use Recycle to gain your item when you switch out.
Hope I helped! :)