The 52-year-old, a former international in both sports, took 2-24 after turning out for Scotland veterans in their 125-run defeat by Lancashire over-50s.
The match was played to commemorate 30 years since Scotland beat Lancashire - their first win over county opposition.
Goram had a 23-year football career and played four times for Cricket Scotland.
He remains the only person to have played in a first-class cricket match and a full international football match for Scotland.
In 1989, he played against the touring Australians but went wicketless as Mike Veletta and Tom Moody hit centuries.

The government would also retain Cuban physicians currently in the country whose contracts had expired, he added.
Negotiations between the government and doctors to end the three-week strike have broken down.
A policy of no-work-no-pay would be applied on those who refused to return to work by Thursday, the minister said.
The minister did not say when the recruitment would start.
However, Mr Segbefia appealed to the doctors to reconsider their position and return to work for negotiations to resume.
The government said it would only resume talks when the doctors returned to work.
The striking doctors want free postgraduate medical education, better retirement packages and increases in clothing, fuel and maintenance allowances.
Other demands include a request for free overseas healthcare for services not available in Ghana, and the right to import vehicles into the country free of duty.
The BBC's Sammy Darko in the capital, Accra, says the strike has mainly affected large teaching hospitals.
It has also put enormous pressure on military and police hospitals, which are treating emergency cases, he adds.
All Ghanaians can have access to free state healthcare if they register with the National Health Insurance Authority.
Government officials have advised people needing urgent medical attention during the strike to go to private clinics and show their health insurance cards.
It is not clear whether those who have done so have received free medical care.

Ibrahim Halawa was 17 when he was arrested during a siege at the Al-Fath mosque in Cairo in 2013.
He has been accused, along with more than 400 others, of inciting violence, riot and sabotage.
He wrote that his incarceration had taught him to find humanity in everyone and disregard revenge.
Mr Halawa wrote to his family and said 22 September should have been the day his parents had lived their lives to see.
He had intended to study a degree in engineering.
Instead he said he was refused proper medical treatment for severe chest pains and had his head forcibly shaved.
"Today while every graduate throws their graduation hat in the sky to come down with the long waiting dream, I don't see the sky," he wrote. "Because I'm enrolled in a different college.
"A college I did not know I had applied for when I chose to fight for freedom. A college that kidnapped me from life to teach me the principles of real life. A college full of lessons. A lot of which I have learned in dark mornings and nights."
The letter, entitled Graduation Speech, revealed he shares a dormitory cell with 30 others and has a sleeping space just over one foot wide.
Mr Halawa told his family he had learned a deep sense of compassion for others during his time in prison and an appreciation of the simple things in life.
"In this college I'm obliged to live with a broad diversity of inmates. From presidential consultants and college professors to illiterate criminals which taught me to seek the real human being behind every social rank," he said.
"I have learned that absolutism is an invalid way to judge humans, humanity is all about relativism.
"It is a college where the hardest subject is 'finding the forgiveness', as I must stay as a freedom fighter and never became a revenge hunter.
"Even though after all these years my oppressor is yet not convinced to let me graduate from his prison and go home. While for others it's graduation night out, for me it's graduation lights out."
The Halawa family and their lawyers KRW Law have attempted to secure a presidential decree for Mr Halawa's freedom.
His case is due back in court on 2 October.
Ibrahim's sister Somaia said: "Ibrahim's letter leaves no room for more to be said, however it has been 35 days since the presidential decree of law 140 was submitted for Ibrahim, after three years of campaigning for Ibrahim's freedom this is our biggest hope.
"It is time for the Irish government to increase the level of pressure so that decree is as effective as it should be."
Andy Goram is known as one of Scotland's greatest goalkeepers, but on Wednesday he reminded people he was also a dab hand with the cricket ball.
[NEXT_CONCEPT]
Ghana is planning to recruit 177 doctors from Cuba to work at state-run hospitals hit by a doctors' strike, Health Minister Alex Segbefia has said.
[NEXT_CONCEPT]
An Irishman jailed in Egypt has written a letter to his family to mark the date he should have graduated from college in Dublin.