The real-life military veteran is to play a physical therapist who works with injured servicemen and women at the fictional Fort Marshall.
Martinez will be shoot his episode with the cast of Army Wives on location in Charleston, SC later this month.
His episode of the critically-acclaimed drama series will air in August.
Martinez also features in All My Children as Brot Monroe, a role he originated in 2008.
The star recently revealed that he and partner Diana Gonzalez-Jones named their daughter Lauryn after Gonzalez-Jones's late sister.
Army Wives kicks off its new season on June 24 on Lifetime.
Watch a trailer for Army Wives below: