Can a trapped nerve affect your breathing?

Unlikely. The phrenic nerves innervates the diaphragm, while the recurrent laryngeal nerves innervate the vocal cords. It is very unlikely these nerves would be trapped or pinched, unless you had neck radiation or surgery causing scar tissue formation.