A man was taken into custody after he was found hiding over $38,000 inside his car while trying to cross into Mexico