#include <bits/stdc++.h>
using namespace std;
const long long inf = 1e18 + 1;
const int N = 4e5 + 1;
const long long mod = 1e9 + 7;
const int bits = 19;
void print(string s) {
  int n = s.size();
  for (int i = 0; i < n; i++) {
    if (s[i] == '?') {
      cout << 'z';
    } else {
      cout << s[i];
    }
  }
  cout << "\n";
}
int cal(string s, string comp, int n) {
  int cnt = 0;
  for (int i = 0; i <= n - comp.size(); i++) {
    if (s.substr(i, comp.size()) == comp) {
      cnt++;
    }
  }
  return cnt;
}
void solve() {
  string comp = "abacaba";
  int n;
  cin >> n;
  string s;
  cin >> s;
  int cnt = cal(s, comp, n);
  if (cnt == 1) {
    cout << "Yes\n";
    print(s);
    return;
  }
  if (cnt > 1) {
    cout << "No\n";
    return;
  }
  for (int i = 0; i <= n - comp.size(); i++) {
    string sub = s.substr(i, comp.size());
    int found = 1;
    for (int j = 0; j < comp.size(); j++) {
      if (sub[j] != comp[j] && sub[j] != '?') {
        found = 0;
        break;
      }
    }
    if (found) {
      string temp = s;
      for (int j = 0; j < comp.size(); j++) {
        temp[i + j] = comp[j];
      }
      if (cal(temp, comp, n) == 1) {
        cout << "Yes\n";
        print(temp);
        return;
      }
    }
  }
  cout << "No\n";
  return;
}
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  ;
  std::cout << std::fixed << std::setprecision(20);
  ;
  int t;
  t = 1;
  cin >> t;
  while (t--) {
    solve();
  }
}
